Khaki to HEX — Color Code

HEX

#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%)

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.