What is the HSL code for khaki?
The CSS color khaki in HSL format is hsl(54, 76.9%, 74.5%). 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: hsl(54, 76.9%, 74.5%);
- Background: background-color: hsl(54, 76.9%, 74.5%);
- Border: border-color: hsl(54, 76.9%, 74.5%);
What are all the color format values for khaki?
| 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%) |
How do I convert khaki to HSL?
Select khaki from the color name list in our color converter. The HSL value — hsl(54, 76.9%, 74.5%) — 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 HSL used for?
HSL describes colors by hue (0–360°), saturation (0–100%) and lightness (0–100%). It is more intuitive for designers — easy to create lighter, darker or less saturated variants of any color.