OKLCH Studio · color reference
neutral-300 in OKLCH
Tailwind v4 neutral-300: oklch(0.870 0.000 0.0), HEX #D4D4D4. WCAG + APCA pairs, Fix deep links, and @theme snippet.
neutral-300 sits in the mid-light range — useful for secondary surfaces and large display type after a contrast check.
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.48:1 · Fail · Lc 23
#D4D4D4 on #FFFFFF
Open in Contrast → - White on swatchnot a suggestion1.48:1 · Fail · Lc 26
#FFFFFF on #D4D4D4
Demo of a common fail — not a suggestion.
Open in Contrast → - Black on swatch14.17:1 · AAA · Lc 81
#000000 on #D4D4D4
Open in Contrast → - Fix → AA on white4.88:1 · AA · Lc 74
#717171 on #FFFFFF
Open in Contrast → - Suggested text on swatch13.11:1 · AAA · Lc 81
#0D0D0D on #D4D4D4
Open in Contrast →
Dark surface pairing
Against #121212: This stop already passes AA as text on #121212 (12.64:1).
Copy code
@theme {
--color-neutral-300: oklch(0.870 0.000 0.0);
}Related
Convert #D4D4D4
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