Color values
#F0E68Crgb(240, 230, 140)hsl(54 77% 75%)54°, 42%, 94%0%, 4%, 42%, 6%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
Khaki is the standard CSS named color #F0E68C, a light muted yellow with an earthy tone.
Khaki is the CSS named color keyword khaki, standardized at #F0E68C in sRGB.
#F0E68Crgb(240, 230, 140)hsl(54 77% 75%)54°, 42%, 94%0%, 4%, 42%, 6%HEX/RGB/HSL/HSV are deterministic sRGB representations. CMYK here is a mathematical approximation, not a printer-profile conversion.
AA normal text: black passes; white fails.
AA large text: black passes; white fails.
WCAG contrast thresholds use 4.5:1 for normal text and 3:1 for large text. Do not round a near-threshold result upward when testing conformance.
These steps are computed by RGB-mixing #F0E68C toward white or black. They are generated values, not official named colors.
#FCFAE8 #F9F5D1 #F6F0BA #F3EBA3 #F0E68C #C0B870 #908A54 #605C38 #302E1C Need more control? Use the Tints and Shades Generator or Lighten / Darken tool.
.example {
color: #000000;
background-color: khaki;
} You can use either khaki or #F0E68C in CSS; both resolve to the same sRGB color.
Closest entries in the current Colormapped set by simple RGB-channel distance:
RGB distance is a simple numerical comparison, not a perceptual color-difference standard.
The keyword and base sRGB value come from the standardized CSS named-color set documented by MDN’s named-color reference. Derived values on this page are computed from that sRGB value.
Contrast uses the W3C relative-luminance formula and thresholds described in WCAG Contrast (Minimum).
Convert #F0E68C with the HEX to RGB converter, test another foreground/background pair in the Contrast Checker, or browse the shade families.