Khaki Color — HEX, RGB, HSL & CMYK Codes

#f0e68c
Format Value
HEX #f0e68c
RGB rgb(240, 230, 140)
HSL hsl(54, 76.9%, 74.5%)
CMYK cmyk(0%, 4.2%, 41.7%, 5.9%)
HSV hsv(54, 41.7%, 94.1%)

khaki color harmonies

Tints & shades of khaki

Tints (lighter)

#f1e896 #f3eba1 #f4edab #f5efb6 #f7f1c0 #f8f4cb #faf6d5 #fbf8e0 #fcfaea #fefdf5

Shades (darker)

#dad17f #c4bc73 #afa766 #999259 #837d4c #6d6940 #575433 #413f26 #2c2a19 #16150d

Contrast & accessibility

The quick brown fox

On white · 1.28:1 · Fail

The quick brown fox

On black · 16.4:1 · AAA

Recommended text color: #000000

Use khaki in code

CSS color: #f0e68c;
SCSS $color: #f0e68c;
Tailwind bg-[#f0e68c]
Swift UIColor(red: 0.941, green: 0.902, blue: 0.549, alpha: 1)
Android Color.parseColor("#f0e68c")
Flutter Color(0xFFF0E68C)

Colors similar to khaki

Browse all Yellow colors →

What is the HEX code for khaki?

The CSS color khaki in HEX format is #f0e68c. Use this value directly in CSS, SVG, and most design tools.

How do I use khaki in CSS?

To apply khaki in CSS:

  • Text color: color: #f0e68c;
  • Background: background-color: #f0e68c;
  • Border: border-color: #f0e68c;

What are all the color format values for khaki?

FormatValue
HEX#f0e68c
RGBrgb(240, 230, 140)
HSLhsl(54, 76.9%, 74.5%)
CMYKcmyk(0%, 4.2%, 41.7%, 5.9%)

How do I convert khaki to HEX?

Select khaki from the color name list in our color converter. The HEX value — #f0e68c — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does khaki belong to?

khaki belongs to the yellow color family. It is a light, vivid color with HSL values: hue 54°, saturation 76.9%, lightness 74.5%.

How do I create lighter and darker shades of khaki?

Lighter variant (lightness 89.5%): #f9f5d0. Darker variant (lightness 59.5%): #e7d748. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.