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

Where it sits

Tints and shades

9 steps, white to black
Tint 80%#FCFAE8
Tint 60%#F9F5D1
Tint 40%#F6F0BA
Tint 20%#F3EBA3
BaseBase#F0E68C
Shade 20%#C0B870
Shade 40%#908A54
Shade 60%#605C38
Shade 80%#302E1C

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.

Accessibility

WCAG contrast
Sample textThe quick brown fox jumps over the lazy dog.

On white1.28:1

Fails WCAG for text
Sample textThe quick brown fox jumps over the lazy dog.

On black16.4:1

Passes AAA for body text

Check a specific pairing in the contrast checker.

Other yellow colors

8 colors, dark to light

Frequently asked

4 questions people ask about Khaki.

  1. 1What 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%).

  2. 2What RGB values make Khaki?

    Khaki is 240 red, 230 green, and 140 blue, written as rgb(240, 230, 140).

  3. 3Is 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.

  4. 4Is Khaki a valid CSS color name?

    Yes. You can write color: khaki directly in CSS, which every browser resolves to #F0E68C.