Color Reference · Sunbeam Citrine

#DED81E

oklch(86% 0.18 108)

HEX
#DED81E
OKLCH
oklch(86% 0.18 108)
RGB
rgb(222, 216, 30)
HSL
hsl(58deg 76% 49%)
Relative Luminance
Y = 0.6474

Using #DED81E as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.51:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 11.86:1
AAA
OKLCH AA text-on-white fix: #7D7400 (4.81:1)Open Checker →

Using #DED81E as Button / Surface Fill

White ink (#FFFFFF) on #DED81E
Contrast ratio 1.51:1
Fail
Dark ink (#0F172A) on #DED81E
Contrast ratio 11.86:1
AAA

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