Color Reference · Onyx Shadow

#18151C

oklch(20.2% 0.014 305)

HEX
#18151C
OKLCH
oklch(20.2% 0.014 305)
RGB
rgb(24, 21, 28)
HSL
hsl(266deg 14% 10%)
Relative Luminance
Y = 0.0081

Using #18151C as Text Foreground

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

Using #18151C as Button / Surface Fill

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

Recommended accessible ink on #18151C: #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 #18151C