OKLCH Studio · color reference
CSS color tan in OKLCH
Named CSS color tan: oklch(0.786 0.064 74.6), HEX #D2B48C. Contrast pairs (WCAG + APCA) and Fix links.
CSS “tan” is a chromatic named color — great for accents. Run Fix before using it as text or as a text background.
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.97:1 · Fail · Lc 38
#D2B48C on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion1.97:1 · Fail · Lc 42
#FFFFFF on #D2B48C
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch10.65:1 · AAA · Lc 66
#000000 on #D2B48C
Open in Contrast → - Fix → AA on white4.98:1 · AA · Lc 74
#876B45 on #FFFFFF
Open in Contrast → - Suggested text on swatch9.85:1 · AAA · Lc 66
#0D0D0D on #D2B48C
Open in Contrast →
Dark surface pairing
Against #121212: tan already passes AA on #121212.
Copy code
:root {
--tan: oklch(0.786 0.064 74.6);
}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