Khaki — #F0E68C
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Khaki values in every format
| CSS name | khaki |
|---|---|
| HEX | #F0E68C |
| RGB | rgb(240, 230, 140) |
| RGB % | 94%, 90%, 55% |
| HSL | hsl(54, 77%, 75%) |
| HSV / HSB | 54°, 42%, 94% |
| CMYK (print) | 0%, 4%, 42%, 6% |
| Relative luminance | 0.770 |
| Contrast on black | 16.40 : 1 |
| Contrast on white | 1.28 : 1 |
| Best text colour on it | Black (16.40 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Khaki (50–950)
50 #FDFCF1100 #FBF8DF200 #F6EFB7300 #EFE481400 #E6D642500 #D0BD1B600 #A79816700 #837711800 #635B0D900 #443E09950 #292505
The scale keeps Khaki's hue (54°) and saturation (77%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Khaki
Complementary: #F0E68C#8C96F0
Analogous: #F0B48C#F0E68C#C8F08C
Triadic: #F0E68C#8CF0E6#E68CF0
Split-complementary: #F0E68C#8CC8F0#B48CF0
Square: #F0E68C#8CF0B4#8C96F0#F08CC8
Computed by rotating the hue wheel from 54°. Try them live in the Colour Harmony Generator.
Closest named colours
palegoldenrod (#EEE8AA) · navajowhite (#FFDEAD) · wheat (#F5DEB3)
Using Khaki well
Khaki sits in the yellow family at 75% lightness — a light, vivid, warm colour. As a background it pairs best with black text (16.40:1 contrast). Its complement (#8C96F0) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#F0B48C, #C8F08C) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Khaki is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Khaki?
#F0E68C — the CSS named colour “khaki”. Its RGB is (240, 230, 140).
Is Khaki good for text or backgrounds?
As a background, black text reads best on it (16.40:1). As text itself on white it reaches 1.28:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Khaki?
Its complement #8C96F0 for contrast, analogous #F0B48C and #C8F08C for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Khaki in CMYK for printing?
C0 M4 Y42 K6. CMYK conversions of screen colours are a starting point — always proof before a print run.