Color Reference · Citron Lime

#AFD17C

oklch(81.6% 0.117 127)

HEX
#AFD17C
OKLCH
oklch(81.6% 0.117 127)
RGB
rgb(175, 209, 124)
HSL
hsl(84deg 48% 65%)
Relative Luminance
Y = 0.5617

Using #AFD17C as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 1.72:1
Fail
Sample text on Slate (#0F172A)
Contrast ratio 10.4:1
AAA
OKLCH AA text-on-white fix: #5E7C27 (4.79:1)Open Checker →

Using #AFD17C as Button / Surface Fill

White ink (#FFFFFF) on #AFD17C
Contrast ratio 1.72:1
Fail
Dark ink (#0F172A) on #AFD17C
Contrast ratio 10.4:1
AAA

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