#F0E68C (Khaki)
Luminance: 0.7701 • Optimal Foreground: Black Text (#000000)
#F0E68C
240, 230, 140
54°, 77%, 75%
#000000
Color Space Specifications
Calculated color space values computed deterministically from #F0E68C.
| Color Model | Value | Action |
|---|---|---|
| HEX | #F0E68C | |
| RGB | rgb(240, 230, 140) | |
| HSL | hsl(54deg, 77%, 75%) | |
| HSV / HSB | hsv(54deg, 42%, 94%) | |
| CMYK | cmyk(0%, 4%, 42%, 6%) | |
| CIE XYZ | X:68.967, Y:77.014, Z:36.038 | |
| CIELAB | lab(90.3% -9 45) | |
| CIELCH | lch(90.3% 45.9 101.3) | |
| OKLAB | oklab(0.9135 -0.0249 0.1091) | |
| OKLCH | oklch(0.9135 0.1119 102.86) | |
| Relative Luminance | 0.7701 | |
| Recommended Text | #000000 |
Prominent Complementary Pair
Base color #F0E68C paired side-by-side with its exact 180° mathematical complement #8E98F0.
Color Wheel Harmony Schemes
Standard design harmony formulas generated relative to #F0E68C.
Color Variations & Scales
Progressive mathematical shades, tints, and tones generated for #F0E68C.
Shades are created by progressively mixing black (#000000) into the base color, decreasing lightness while preserving hue.
WCAG 2.2 Accessibility & Contrast Audit
Legibility evaluations testing #F0E68C against standard white and black text backgrounds according to W3C guidelines.
Sample Text in #F0E68C
Sub-text body paragraph example.
Sample Text in #F0E68C
Sub-text body paragraph example.
WCAG 2.2 Standard Note: Contrast ratio measures relative luminance difference between foreground and background. AA compliance requires at least 4.5:1 for body text (under 18pt) and 3.0:1 for large text or UI controls. AAA compliance requires 7.0:1 for normal body text.
CSS & Developer Snippets
Copyable production-ready CSS syntax and design tokens formatted for modern web standards.
#F0E68Cbackground-color: #F0E68C;rgb(240, 230, 140)rgb(240 230 140)hsl(54deg 77% 75%)lab(90.3% -9 45)lch(90.3% 45.9 101.3)oklab(0.9135 -0.0249 0.1091)oklch(0.9135 0.1119 102.86)--color-f0e68c: #F0E68C;--color-primary: #F0E68C;bg-[#F0E68C]Curated Palettes Featuring #F0E68C
Sage & Dusty Rose Wedding
WeddingLavender & Eucalyptus Dream
WeddingBlush & Terracotta Romance
WeddingFactual Color Summary & FAQ for #F0E68C
What color is #F0E68C?
#F0E68C is an sRGB color defined by Red: 240, Green: 230, Blue: 140. In digital design catalogs, it is closely identified with "Khaki".Its calculated relative luminance value is 0.7701.
How do you convert #F0E68C across color spaces?
In HSL, #F0E68C measures 54° Hue, 77% Saturation, and 75% Lightness. In modern OKLCH, L is 0.9135, Chroma is 0.1119, and Hue angle is 102.86°. For commercial print (CMYK), values are Cyan: 0%, Magenta: 4%, Yellow: 42%, and Key (Black): 6%.
Is #F0E68C WCAG 2.2 Accessible?
Against pure white (#FFFFFF), #F0E68C achieves a 1.28:1 contrast ratio. Against pure black (#000000), it achieves a 16.4:1 contrast ratio. The optimal readable text foreground for #F0E68C is Black (#000000).
Explore Color Tools
Use #F0E68C with our free web-based color tools.
Generate 50-950 scales in OKLCH space
Pick colors in modern OKLCH space
Fix low-contrast pairs to meet WCAG AA/AAA
Build primitive and semantic token sets
Convert HEX to RGB, HSL, CMYK, OKLCH
Audit text & UI contrast against WCAG 2.2
Educational Resources
Learn color theory and digital accessibility principles.
Understanding 6-digit hexadecimal web color notation
HEX, RGB, HSL, LAB, LCH, OKLAB & OKLCH explained
Mastering complementary, triadic, and analogous palettes
Meeting AA and AAA accessibility compliance