Khaki
#F0E68CAbout Khaki
Khaki is the hex color #F0E68C, which translates to rgb(240, 230, 140) in RGB and hsl(54, 77%, 75%) in HSL. On the color wheel it sits at 54 degrees, with a saturation of 77 percent and a lightness of 75 percent. That combination gives Khaki a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.
How Khaki compares
Khaki is exactly the CSS keyword khaki, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is amber-200 (#FEE685), at a distance of 7.0. Inside this library the closest neighbour is Flax at 4.5. Sorted by lightness, Khaki is number 15 of the 18 yellow colors here.
Text on Khaki
2 of the five common text colors below clear WCAG AA for normal text on Khaki, led by Ink black at 14.95:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Khaki already loaded as the background.
| Text color | Ratio | AA normal | AA large | AAA normal |
|---|---|---|---|---|
| White #FFFFFF | 1.28:1 | Fail | Fail | Fail |
| Ink black #0F0F12 | 14.95:1 | Pass | Pass | Pass |
| Mid grey #6B7280 | 3.78:1 | Fail | Pass | Fail |
| Dark grey #374151 | 8.05:1 | Pass | Pass | Pass |
| Light grey #E5E7EB | 1.03:1 | Fail | Fail | Fail |
Building a palette around Khaki
The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Khaki for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.
Full values for Khaki
| Format | Value |
|---|---|
| HEX | #F0E68C |
| RGB | rgb(240, 230, 140) |
| HSL | hsl(54, 77%, 75%) |
| HSV | hsv(54, 42%, 94%) |
| CMYK | cmyk(0%, 4%, 42%, 6%) |
| OKLCH | oklch(91.35% 0.1119 102.83) |
| CIELAB | lab(90.33 -9.01 44.98) |
Use Khaki in a tool
Nearby colors
Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.