Khaki to RGB — Color Code

RGB

rgb(240, 230, 140)

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 RGB code for khaki?

The CSS color khaki in RGB format is rgb(240, 230, 140). 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: rgb(240, 230, 140);
  • Background: background-color: rgb(240, 230, 140);
  • Border: border-color: rgb(240, 230, 140);

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 RGB?

Select khaki from the color name list in our color converter. The RGB value — rgb(240, 230, 140) — 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 RGB used for?

RGB defines colors using three values from 0 to 255 — red, green and blue intensity. It is the native format for screens, monitors and web browsers.