Color Reference · Onyx Shadow

#12151B

oklch(19.5% 0.013 264)

HEX
#12151B
OKLCH
oklch(19.5% 0.013 264)
RGB
rgb(18, 21, 27)
HSL
hsl(220deg 20% 9%)
Relative Luminance
Y = 0.0074

Using #12151B as Text Foreground

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

Using #12151B as Button / Surface Fill

White ink (#FFFFFF) on #12151B
Contrast ratio 18.28:1
AAA
Dark ink (#0F172A) on #12151B
Contrast ratio 1.02:1
Fail

Recommended accessible ink on #12151B: #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 #12151B