Color Reference · Moss Olive

#338E00

oklch(56.9% 0.179 139)

HEX
#338E00
OKLCH
oklch(56.9% 0.179 139)
RGB
rgb(51, 142, 0)
HSL
hsl(98deg 100% 28%)
Relative Luminance
Y = 0.2005

Using #338E00 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.19:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.26:1
AA Large
OKLCH AA text-on-white fix: #288500 (4.72:1)Open Checker →

Using #338E00 as Button / Surface Fill

White ink (#FFFFFF) on #338E00
Contrast ratio 4.19:1
AA Large
Dark ink (#0F172A) on #338E00
Contrast ratio 4.26:1
AA Large

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