Skip to content
ColorPicker Studio

Khaki color — #F0E68C

Khaki is a CSS named color with the HEX code #F0E68C, RGB value rgb(240, 230, 140) and HSL value hsl(54, 77%, 75%).

Yellow

Khaki

#F0E68C

Color codes

HEX
#F0E68C
RGB
rgb(240, 230, 140)
HSL
hsl(54, 77%, 75%)
HSV
hsv(54, 42%, 94%)
CMYK
cmyk(0%, 4%, 42%, 6%)
OKLCH
oklch(91.35% 0.1119 102.83)

CSS usage

In CSS you can use the keyword or any equivalent value:

.element {
  color: khaki;
  background-color: #f0e68c;
  border-color: rgb(240, 230, 140);
  outline-color: hsl(54, 77%, 75%);
}

Shades

Tints

Color harmonies

Complementary

Analogous

Triadic

Split complementary

Contrast ratio

Contrast ratio against white and black text, per WCAG 2.2.

Khaki — On white1.28:1 · Fail
Khaki — On black16.40:1 · AAA

Similar colors

More Yellow colors →