Khaki Color

Khaki is a very light yellow with hex code #F0E68C. Here are its RGB, HSL, CMYK and OKLCH values, tints and shades, matching colours and CSS.

#F0E68CRGB 240 230 140
Khaki#F0E68C

Khaki color codes

HEX#F0E68C
RGBrgb(240, 230, 140)
HSLhsl(54, 77%, 75%)
HSV54°, 42%, 94%
CMYK0%, 4%, 42%, 6%
OKLCHoklch(91.3% 0.112 102.8)
Tailwindbg-[#f0e68c]

Closest Tailwind colour: amber-200 (#FDE68A). Convert any colour in the Color Converter.

About Khaki

Khaki (#F0E68C) is a very light yellow. In the RGB model it is 94% red, 90% green and 55% blue; its hue angle is 54°, with 77% saturation and 75% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 42% yellow and 6% black.

It is a warm colour and appears in our shades of yellow. Text on it reads best in black (16.4:1 contrast).

Khaki tints and shades

Tints mix khaki with white; shades mix it with black. Click to copy.

10%
20%
30%
40%
50%
60%
70%
80%
90%
Base
-10%
-20%
-30%
-40%
-50%
-60%
-70%
-80%
-90%

Colors that go with Khaki

Complementary

Khaki

Analogous

Khaki
near Khaki

Triadic

Khaki

Split complementary

Khaki

Khaki contrast

White text1.28:1
  • AA text fail
  • AAA text fail
  • AA large fail
Black text16.40:1
  • AA text pass
  • AAA text pass
  • AA large pass

Using Khaki in CSS

.brand {
  color: #f0e68c;
}
.button {
  background: #f0e68c;
  color: #111;
}
.hero {
  background: linear-gradient(135deg, #f5efb4, #f0e68c, #9c965b);
}

Similar colors

Gradients with Khaki

Very closeCurated

Opa

Very closeCurated

Sage Amber

More gradients near #F0E68C →

Khaki FAQ

What color is Khaki?

Khaki is a very light yellow. Its hex code is #F0E68C and it is a warm colour.

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 hsl(54, 77%, 75%).

What is Khaki in CMYK?

Khaki is roughly C 0%, M 4%, Y 42%, K 6% in CMYK. Screen-to-print conversion depends on the printer profile, so check a proof for brand colours.

What colors go well with Khaki?

Its complementary colour is #8E98F0. For a calmer palette use its analogous colours #F0B58E and #C9F08E, or tints and shades of Khaki itself.

Is white or black text better on Khaki?

Black text reads better on Khaki: 16.4:1 contrast, against 1.3:1 for white. WCAG asks for 4.5:1 for body text.

Browse colors