Color Reference · Moss Olive

#308F02

oklch(57.1% 0.181 139)

HEX
#308F02
OKLCH
oklch(57.1% 0.181 139)
RGB
rgb(48, 143, 2)
HSL
hsl(100deg 97% 28%)
Relative Luminance
Y = 0.2028

Using #308F02 as Text Foreground

Sample text on White (#FFFFFF)
Contrast ratio 4.15:1
AA Large
Sample text on Slate (#0F172A)
Contrast ratio 4.3:1
AA Large
OKLCH AA text-on-white fix: #258600 (4.68:1)Open Checker →

Using #308F02 as Button / Surface Fill

White ink (#FFFFFF) on #308F02
Contrast ratio 4.15:1
AA Large
Dark ink (#0F172A) on #308F02
Contrast ratio 4.3:1
AA Large

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