Colors

#F0E68C

Khaki

Khaki is #F0E68C. In CSS you can write it as the keyword khaki. The values below are the same sRGB color in HEX, RGB, HSL, HSV, a simple CMYK conversion, and OKLCH. CMYK here is a channel formula for reference, not a press proof.

Conversions

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.3% 0.112 102.8)

Tints and shades

Tints mix this color toward white. Shades mix it toward black in sRGB. For a 50–950 ramp, open the tint and shade generator.

Tints

#F3EBA3

20% white

#F6F0BA

40% white

#F9F5D1

60% white

#FCFAE8

80% white

Shades

#C0B870

20% black

#908A54

40% black

#605C38

60% black

#302E1C

80% black

Harmony palettes

These schemes rotate hue from Khaki. Read the relationships in color theory 101 or adjust them on the color wheel.

#F0E78E

#8E98F0

#F3F0D8

#D8DBF3

#C0B872

#F0B58E

#F0E78E

#C9F08E

#98F08E

#E9969E

#F0E78E

#8EF0E7

#E78EF0

#D8F3F0

#CC76D6

Split Complementary

Open in palette generator

#F0E78E

#8EC9F0

#B58EF0

#F8F7EC

#727AC0

#5A520C

#9E9015

#E2CE1D

#EADD61

#F3EBA5

#F0E78E

#8EF0B5

#8E98F0

#F08EC9

#CDEEDB

Contrast against white and black

Ratios use the WCAG relative-luminance formula. AA normal text needs 4.5:1 and large text needs 3:1 under Success Criterion 1.4.3. AAA uses 7:1 and 4.5:1. A pass here is only this pair, not a full page audit. Check other pairings in the contrast checker.

On white · 1.28:1
AA normal text Fail
AA large text Fail
AAA normal text Fail
AAA large text Fail
On black · 16.40:1
AA normal text Pass
AA large text Pass
AAA normal text Pass
AAA large text Pass

Similar named colors

Nearest CSS named colors by RGB distance. Distance is not a perceptual match.

Use this color