Color Reference · Sunbeam Citrine

#D7DB2A

oklch(86.1% 0.18 111)

HEX
#D7DB2A
OKLCH
oklch(86.1% 0.18 111)
RGB
rgb(215, 219, 42)
HSL
hsl(61deg 71% 51%)
Relative Luminance
Y = 0.6528

Using #D7DB2A as Text Foreground

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

Using #D7DB2A as Button / Surface Fill

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

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