Generated palette

Khaki Palette

Khaki Palette is a generated palette built from #F0E68C, #8E98F0, #F0B58E, #C9F08E. 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.

Khaki Palette combines primary #F0E68C, secondary #8E98F0, surface #F0B58E, background #C9F08E, 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#F0E68CKhaki
Secondary#8E98F0#8E98F0
Surface#F0B58E#F0B58E
Background#C9F08E#C9F08E
Accent#000000Black

CSS Variables

--palette-khaki-primary: #F0E68C;
--palette-khaki-secondary: #8E98F0;
--palette-khaki-surface: #F0B58E;
--palette-khaki-background: #C9F08E;
--palette-khaki-accent: #000000;

Accessibility Snapshot

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

Primary#F0E68C
Black 16.4:1 · White 1.28:1
Best #000000
Secondary#8E98F0
Black 7.9:1 · White 2.66:1
Best #000000
Surface#F0B58E
Black 11.71:1 · White 1.79:1
Best #000000
Background#C9F08E
Black 16.34:1 · White 1.29: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 Khaki Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.7701
Black text16.4:1AA Pass
White text1.28: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": "#F0E68C",
    "name": "Khaki"
  },
  {
    "role": "secondary",
    "hex": "#8E98F0",
    "name": "#8E98F0"
  },
  {
    "role": "surface",
    "hex": "#F0B58E",
    "name": "#F0B58E"
  },
  {
    "role": "background",
    "hex": "#C9F08E",
    "name": "#C9F08E"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#F0E68C",
    "name": "Khaki",
    "blackContrast": 16.4,
    "whiteContrast": 1.28,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "secondary",
    "hex": "#8E98F0",
    "name": "#8E98F0",
    "blackContrast": 7.9,
    "whiteContrast": 2.66,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000"
    ]
  },
  {
    "role": "surface",
    "hex": "#F0B58E",
    "name": "#F0B58E",
    "blackContrast": 11.71,
    "whiteContrast": 1.79,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "background",
    "hex": "#C9F08E",
    "name": "#C9F08E",
    "blackContrast": 16.34,
    "whiteContrast": 1.29,
    "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
[
  "khaki palette",
  "generated palette",
  "yellow palette",
  "blue palette",
  "orange palette",
  "green palette",
  "gray 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-khaki-primary: #F0E68C;\n--palette-khaki-secondary: #8E98F0;\n--palette-khaki-surface: #F0B58E;\n--palette-khaki-background: #C9F08E;\n--palette-khaki-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "khaki",
  "name": "Khaki Palette",
  "type": "generated",
  "sourceColor": "khaki",
  "description": "Generated palette built from Khaki, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Khaki Palette combines primary #F0E68C, secondary #8E98F0, surface #F0B58E, background #C9F08E, 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": [
    "khaki palette",
    "generated palette",
    "yellow palette",
    "blue palette",
    "orange palette",
    "green palette",
    "gray 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": "#F0E68C",
      "slug": "khaki",
      "name": "Khaki",
      "rgb": [
        240,
        230,
        140
      ],
      "hsl": [
        54,
        77,
        75
      ],
      "cmyk": [
        0,
        4,
        42,
        6
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.7701,
      "contrast": {
        "black": 16.4,
        "white": 1.28
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/khaki/"
    },
    {
      "role": "secondary",
      "hex": "#8E98F0",
      "slug": null,
      "name": "#8E98F0",
      "rgb": [
        142,
        152,
        240
      ],
      "hsl": [
        234,
        77,
        75
      ],
      "cmyk": [
        41,
        37,
        0,
        6
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "pastel"
      ],
      "luminance": 0.345,
      "contrast": {
        "black": 7.9,
        "white": 2.66
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/8e98f0/"
    },
    {
      "role": "surface",
      "hex": "#F0B58E",
      "slug": null,
      "name": "#F0B58E",
      "rgb": [
        240,
        181,
        142
      ],
      "hsl": [
        24,
        77,
        75
      ],
      "cmyk": [
        0,
        25,
        41,
        6
      ],
      "family": "orange",
      "temperature": "warm",
      "tone": [
        "pastel"
      ],
      "luminance": 0.5353,
      "contrast": {
        "black": 11.71,
        "white": 1.79
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/f0b58e/"
    },
    {
      "role": "background",
      "hex": "#C9F08E",
      "slug": null,
      "name": "#C9F08E",
      "rgb": [
        201,
        240,
        142
      ],
      "hsl": [
        84,
        77,
        75
      ],
      "cmyk": [
        16,
        0,
        41,
        6
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "pastel"
      ],
      "luminance": 0.7669,
      "contrast": {
        "black": 16.34,
        "white": 1.29
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/c9f08e/"
    },
    {
      "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": "#F0E68C",
      "name": "Khaki"
    },
    {
      "role": "secondary",
      "hex": "#8E98F0",
      "name": "#8E98F0"
    },
    {
      "role": "surface",
      "hex": "#F0B58E",
      "name": "#F0B58E"
    },
    {
      "role": "background",
      "hex": "#C9F08E",
      "name": "#C9F08E"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#F0E68C",
      "name": "Khaki",
      "blackContrast": 16.4,
      "whiteContrast": 1.28,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "secondary",
      "hex": "#8E98F0",
      "name": "#8E98F0",
      "blackContrast": 7.9,
      "whiteContrast": 2.66,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000"
      ]
    },
    {
      "role": "surface",
      "hex": "#F0B58E",
      "name": "#F0B58E",
      "blackContrast": 11.71,
      "whiteContrast": 1.79,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "background",
      "hex": "#C9F08E",
      "name": "#C9F08E",
      "blackContrast": 16.34,
      "whiteContrast": 1.29,
      "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-khaki-primary: #F0E68C;\n--palette-khaki-secondary: #8E98F0;\n--palette-khaki-surface: #F0B58E;\n--palette-khaki-background: #C9F08E;\n--palette-khaki-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/khaki.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/khaki.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/khaki/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/khaki.json"
}