Color Reference · Onyx Shadow

#18151E

oklch(20.4% 0.018 300)

HEX
#18151E
OKLCH
oklch(20.4% 0.018 300)
RGB
rgb(24, 21, 30)
HSL
hsl(260deg 18% 10%)
Relative Luminance
Y = 0.0082

Using #18151E as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 18.03:1
AAA
Sample text on Slate (#0F172A)
Contrast ratio 1.01:1
Fail

Using #18151E as Button / Surface Fill

White ink (#FFFFFF) on #18151E
Contrast ratio 18.03:1
AAA
Dark ink (#0F172A) on #18151E
Contrast ratio 1.01:1
Fail

Recommended accessible ink on #18151E: #FFFFFF.

OKLCH Tonal Scale (50–950)

Click any shade step to inspect its conversions and contrast profile.

Export Tailwind CSS v4 Scale →

OKLCH Color Harmonies from #18151E