Image Color Lab

CSS named color

#f0e68c — khaki

rgb(240, 230, 140)

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)

Contrast

1.28:1 on white

Fails WCAG AA

16.40:1 on black

AAA for normal and large text

Tints and shades

Harmonies

About khaki

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.