CSS color

khaki

#f0e68c
hex#f0e68c
rgbrgb(240, 230, 140)
hslhsl(54, 77%, 75%)
oklchoklch(0.913 0.112 102.8)
Relative luminance 0.7701

Khaki on this page is the real value, not a screenshot: exact hex, RGB, HSL and OKLCH, ten tints and ten shades, classic harmonies, and WCAG contrast with fixes — plus the curated palettes it appears in and any public brand that adopts it.

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#8e98f0

#f0b58e · #c9f08e

#8ef0e7 · #e78ef0

Split-complementary

Open in tool →

#8ec9f0 · #b58ef0

#8ef0b5 · #8e98f0 · #f08ec9

Contrast

khaki as textRatioAAAA largeAAAFix
Aaon white
1.28:1failfailfail
  • AA: use #837811 as the text (4.51:1)
  • AAA: use #5f570c as the text (7.36:1)
  • AA: or shift the background to #636363 (4.69:1)
  • AAA: or shift the background to #474747 (7.26:1)
Aaon black
16.4:1passpasspassPasses AAA — no fix needed.

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with khaki as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

khaki reads as warm, vivid, light. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around khaki
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #f0e68c and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/f0e68c-bebea2-4ea2df-292d1f-f1ede9?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md