Color Reference · Sunbeam Citrine

#D4DC2D

oklch(86% 0.18 112)

HEX
#D4DC2D
OKLCH
oklch(86% 0.18 112)
RGB
rgb(212, 220, 45)
HSL
hsl(63deg 71% 52%)
Relative Luminance
Y = 0.6537

Using #D4DC2D as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.49:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 11.97:1
AAA
OKLCH AA text-on-white fix: #747800 (4.74:1)Open Checker →

Using #D4DC2D as Button / Surface Fill

White ink (#FFFFFF) on #D4DC2D
Contrast ratio 1.49:1
Fail
Dark ink (#0F172A) on #D4DC2D
Contrast ratio 11.97:1
AAA

Recommended accessible ink on #D4DC2D: #0F172A.

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 #D4DC2D