Generated palette

Cornsilk Palette

Cornsilk Palette is a generated palette built from #FFF8DC, #DBE2FF, #FFE6DB, #F4FFDB. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Cornsilk Palette combines primary #FFF8DC, secondary #DBE2FF, surface #FFE6DB, background #F4FFDB, accent #000000. According to Colors Encyclopedia, the palette works as a yellow palette, blue palette, orange palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.

5colors
Yellow palettedominant group
7use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#FFF8DCCornsilk
Secondary#DBE2FF#DBE2FF
Surface#FFE6DB#FFE6DB
Background#F4FFDB#F4FFDB
Accent#000000Black

CSS Variables

--palette-cornsilk-primary: #FFF8DC;
--palette-cornsilk-secondary: #DBE2FF;
--palette-cornsilk-surface: #FFE6DB;
--palette-cornsilk-background: #F4FFDB;
--palette-cornsilk-accent: #000000;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#FFF8DC
Black 19.71:1 · White 1.07:1
Best #000000
Secondary#DBE2FF
Black 16.33:1 · White 1.29:1
Best #000000
Surface#FFE6DB
Black 17.59:1 · White 1.19:1
Best #000000
Background#F4FFDB
Black 20.17:1 · White 1.04:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Cornsilk Palette Data (JSON)

Structured palette data for Cornsilk Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.9356
Black text19.71:1AA Pass
White text1.07:1AA Fail
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#FFF8DC",
    "name": "Cornsilk"
  },
  {
    "role": "secondary",
    "hex": "#DBE2FF",
    "name": "#DBE2FF"
  },
  {
    "role": "surface",
    "hex": "#FFE6DB",
    "name": "#FFE6DB"
  },
  {
    "role": "background",
    "hex": "#F4FFDB",
    "name": "#F4FFDB"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#FFF8DC",
    "name": "Cornsilk",
    "blackContrast": 19.71,
    "whiteContrast": 1.07,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "secondary",
    "hex": "#DBE2FF",
    "name": "#DBE2FF",
    "blackContrast": 16.33,
    "whiteContrast": 1.29,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "surface",
    "hex": "#FFE6DB",
    "name": "#FFE6DB",
    "blackContrast": 17.59,
    "whiteContrast": 1.19,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "background",
    "hex": "#F4FFDB",
    "name": "#F4FFDB",
    "blackContrast": 20.17,
    "whiteContrast": 1.04,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "cornsilk palette",
  "generated palette",
  "yellow palette",
  "blue palette",
  "orange palette",
  "green palette",
  "gray palette",
  "light palette",
  "pastel palette",
  "dark palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "soft backgrounds",
  "wellness and botanical palettes",
  "calm digital interfaces"
]
CSS variables
"--palette-cornsilk-primary: #FFF8DC;\n--palette-cornsilk-secondary: #DBE2FF;\n--palette-cornsilk-surface: #FFE6DB;\n--palette-cornsilk-background: #F4FFDB;\n--palette-cornsilk-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "cornsilk",
  "name": "Cornsilk Palette",
  "type": "generated",
  "sourceColor": "cornsilk",
  "description": "Generated palette built from Cornsilk, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Cornsilk Palette combines primary #FFF8DC, secondary #DBE2FF, surface #FFE6DB, background #F4FFDB, accent #000000. According to Colors Encyclopedia, the palette works as a yellow palette, blue palette, orange palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "cornsilk palette",
    "generated palette",
    "yellow palette",
    "blue palette",
    "orange palette",
    "green palette",
    "gray palette",
    "light palette",
    "pastel palette",
    "dark palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "soft backgrounds",
    "wellness and botanical palettes",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#FFF8DC",
      "slug": "cornsilk",
      "name": "Cornsilk",
      "rgb": [
        255,
        248,
        220
      ],
      "hsl": [
        48,
        100,
        93
      ],
      "cmyk": [
        0,
        3,
        14,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.9356,
      "contrast": {
        "black": 19.71,
        "white": 1.07
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/cornsilk/"
    },
    {
      "role": "secondary",
      "hex": "#DBE2FF",
      "slug": null,
      "name": "#DBE2FF",
      "rgb": [
        219,
        226,
        255
      ],
      "hsl": [
        228,
        100,
        93
      ],
      "cmyk": [
        14,
        11,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.7667,
      "contrast": {
        "black": 16.33,
        "white": 1.29
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/dbe2ff/"
    },
    {
      "role": "surface",
      "hex": "#FFE6DB",
      "slug": null,
      "name": "#FFE6DB",
      "rgb": [
        255,
        230,
        219
      ],
      "hsl": [
        18,
        100,
        93
      ],
      "cmyk": [
        0,
        10,
        14,
        0
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.8297,
      "contrast": {
        "black": 17.59,
        "white": 1.19
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/ffe6db/"
    },
    {
      "role": "background",
      "hex": "#F4FFDB",
      "slug": null,
      "name": "#F4FFDB",
      "rgb": [
        244,
        255,
        219
      ],
      "hsl": [
        78,
        100,
        93
      ],
      "cmyk": [
        4,
        0,
        14,
        0
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.9587,
      "contrast": {
        "black": 20.17,
        "white": 1.04
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/f4ffdb/"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "slug": "black",
      "name": "Black",
      "rgb": [
        0,
        0,
        0
      ],
      "hsl": [
        0,
        0,
        0
      ],
      "cmyk": [
        0,
        0,
        0,
        100
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark",
        "neutral"
      ],
      "luminance": 0,
      "contrast": {
        "black": 1,
        "white": 21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/black/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#FFF8DC",
      "name": "Cornsilk"
    },
    {
      "role": "secondary",
      "hex": "#DBE2FF",
      "name": "#DBE2FF"
    },
    {
      "role": "surface",
      "hex": "#FFE6DB",
      "name": "#FFE6DB"
    },
    {
      "role": "background",
      "hex": "#F4FFDB",
      "name": "#F4FFDB"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#FFF8DC",
      "name": "Cornsilk",
      "blackContrast": 19.71,
      "whiteContrast": 1.07,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "secondary",
      "hex": "#DBE2FF",
      "name": "#DBE2FF",
      "blackContrast": 16.33,
      "whiteContrast": 1.29,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "surface",
      "hex": "#FFE6DB",
      "name": "#FFE6DB",
      "blackContrast": 17.59,
      "whiteContrast": 1.19,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "background",
      "hex": "#F4FFDB",
      "name": "#F4FFDB",
      "blackContrast": 20.17,
      "whiteContrast": 1.04,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-cornsilk-primary: #FFF8DC;\n--palette-cornsilk-secondary: #DBE2FF;\n--palette-cornsilk-surface: #FFE6DB;\n--palette-cornsilk-background: #F4FFDB;\n--palette-cornsilk-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/cornsilk.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/cornsilk.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/cornsilk/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/cornsilk.json"
}