#5FA236#5FA236
#5FA236 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.5% C 0.157 H 135.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA236 |
|---|---|
| RGB | rgb(95, 162, 54) |
| HSL | hsl(97, 50%, 42%) |
| HSV | hsv(97, 67%, 64%) |
| CMYK | cmyk(41.4%, 0%, 66.7%, 36.5%) |
| CIE-LAB | lab(60.37, -40.45, 47.79) |
| CIE-LCH | lch(60.37, 62.61, 130.24°) |
| OKLab | oklab(64.48% -0.1124 0.1097) |
| OKLCH | oklch(64.48% 0.157 135.7) |
| XYZ | xyz(18.3051, 28.5389, 8.0334) |
| Luminance | 0.2854 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 3.34
Lawn Green
#4DA409
ΔE00 3.73
Leaf
#71AA34
ΔE00 3.74
Mid Green
#50A747
ΔE00 3.81
Fern (survey)
#63A950
ΔE00 3.91
Flat Green
#699D4C
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA236 #7936A2
analogous
#95A236 #5FA236 #36A243
triadic
#5FA236 #365FA2 #A2365F
tetradic
#5FA236 #3695A2 #7936A2 #A24336
square
#5FA236 #3695A2 #7936A2 #A24336
split-complementary
#5FA236 #4336A2 #A23695
monochromatic
#294617 #447427 #5FA236 #7DC550 #9FD47E
Accessibility & contrast
On white
3.13
#5FA236 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#5FA236 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA236
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA236 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA236 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89528
Deuteranopia (green-blind)
#9F8F3F
Tritanopia (blue-blind)
#5D9C8C
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5fa236; /* rgb */ color: rgb(95, 162, 54); /* oklch */ color: oklch(64.5% 0.157 135.7);
Tailwind
colors: {
custom: {
50: '#91be72',
500: '#5fa236',
950: '#000000',
},
}SCSS
$custom: #5fa236; $custom-light: #91be72; $custom-dark: #000000;
JSON
{
"hex": "#5fa236",
"rgb": {
"r": 95,
"g": 162,
"b": 54
},
"hsl": {
"h": 97.222,
"s": 50,
"l": 42.353
},
"oklch": {
"l": 0.64477,
"c": 0.15704,
"h": 135.7
},
"luminance": 0.2854
}Semantic roles & 50–950 ramp
primary
#5FA236
secondary
#A277BD
accent
#4EDAA5
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B