Color codes
- HEX
- #f0e68c
- RGB
- rgb(240, 230, 140)
- HSL
- hsl(54 77% 75%)
- CMYK
- cmyk(0% 4% 42% 6%)
- OKLCH
- oklch(91.3% 0.112 103)
CSS named color
rgb(240, 230, 140)
1.28:1 on white
Fails WCAG AA
16.40:1 on black
AAA for normal and large text
khaki is written as #f0e68c in hex, rgb(240, 230, 140) in RGB and hsl(54 77% 75%) in HSL. Its lightness sits at 75%, which is why it reads fails wcag aa against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.