Khaki

#F0E68C

Khaki is a yellow tone at #F0E68C. It sits at 54 degrees on the color wheel with 77% saturation and 75% lightness.

Color values

Tints and shades

Tints mix Khaki with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.

Tint 80%

#FCFAE8

Tint 60%

#F9F5D1

Tint 40%

#F6F0BA

Tint 20%

#F3EBA3

Base

#F0E68C

Shade 20%

#C0B870

Shade 40%

#908A54

Shade 60%

#605C38

Shade 80%

#302E1C

Accessibility

On white

Sample text

1.28:1

Fails WCAG for text

On black

Sample text

16.4:1

Passes AAA for body text

Check a specific pairing in the contrast checker.

Other yellow colors

Frequently asked

What is the hex code for Khaki?
The hex code for Khaki is #F0E68C. In RGB that is rgb(240, 230, 140), and in HSL it is hsl(54, 77%, 75%).
What RGB values make Khaki?
Khaki is 240 red, 230 green, and 140 blue, written as rgb(240, 230, 140).
Is Khaki readable as text on a white background?
Khaki scores 1.28:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.
Is Khaki a valid CSS color name?
Yes. You can write color: khaki directly in CSS, which every browser resolves to #F0E68C.