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.
Khaki color codes
| HEX | #F0E68C | |
|---|---|---|
| RGB | rgb(240, 230, 140) | |
| HSL | hsl(54, 77%, 75%) | |
| HSV | 54°, 42%, 94% | |
| CMYK | 0%, 4%, 42%, 6% | |
| OKLCH | oklch(91.3% 0.112 102.8) | |
| Tailwind | bg-[#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.
Colors that go with Khaki
Complementary
Analogous
Triadic
Split complementary
Khaki contrast
- AA text fail
- AAA text fail
- AA large fail
- 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
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.
