OKLCH Studio · color reference
CSS color khaki in OKLCH
Named CSS color khaki: oklch(0.913 0.112 102.8), HEX #F0E68C. Contrast pairs (WCAG + APCA) and Fix links.
CSS “khaki” is very light — treat as a background or highlight, not body text on white.
Contrast pairs
WCAG 2.1 normal text + APCA Lc. Open a pair in the live Fix tool — informational only, not a legal audit.
- Text on white1.28:1 · Fail · Lc 14
#F0E68C on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion1.28:1 · Fail · Lc 16
#FFFFFF on #F0E68C
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch16.40:1 · AAA · Lc 90
#000000 on #F0E68C
Open in Contrast → - Fix → AA on white4.71:1 · AA · Lc 73
#7F750F on #FFFFFF
Open in Contrast → - Suggested text on swatch15.18:1 · AAA · Lc 89
#0D0D0D on #F0E68C
Open in Contrast →
Dark surface pairing
Against #121212: khaki already passes AA on #121212.
Copy code
:root {
--khaki: oklch(0.913 0.112 102.8);
}Related
Keep exploring
Static reference — the live Fix tool uses the same WCAG math with Undo and share links.
Contrast Fix →OKLCH Studio homeTailwind indexCSS names index