#5FA42B#5FA42B
#5FA42B is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.167 H 134.8°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA42B |
|---|---|
| RGB | rgb(95, 164, 43) |
| HSL | hsl(94, 58%, 41%) |
| HSV | hsv(94, 74%, 64%) |
| CMYK | cmyk(42.1%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(60.92, -42.15, 52.72) |
| CIE-LCH | lch(60.92, 67.50, 128.64°) |
| OKLab | oklab(64.9% -0.1178 0.1185) |
| OKLCH | oklch(64.9% 0.167 134.8) |
| XYZ | xyz(18.4304, 29.1572, 6.9418) |
| Luminance | 0.2916 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.44
Lawn Green
#4DA409
ΔE00 2.59
Leaf
#71AA34
ΔE00 2.95
Leaf Green
#5CA904
ΔE00 3.00
Grassy Green
#419C03
ΔE00 4.28
Nasty Green
#70B23F
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA42B #702BA4
analogous
#9BA42B #5FA42B #2BA434
triadic
#5FA42B #2B5FA4 #A42B5F
tetradic
#5FA42B #2B9BA4 #702BA4 #A4342B
square
#5FA42B #2B9BA4 #702BA4 #A4342B
split-complementary
#5FA42B #342BA4 #A42B9B
monochromatic
#274312 #43741E #5FA42B #7CCD3F #9DD970
Accessibility & contrast
On white
3.07
#5FA42B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#5FA42B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA42B
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA42B | 1.00 | 3.07 | 6.83 | 6.83 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9714
Deuteranopia (green-blind)
#A19137
Tritanopia (blue-blind)
#5E9E8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5fa42b; /* rgb */ color: rgb(95, 164, 43); /* oklch */ color: oklch(64.9% 0.167 134.8);
Tailwind
colors: {
custom: {
50: '#92bf6d',
500: '#5fa42b',
950: '#000000',
},
}SCSS
$custom: #5fa42b; $custom-light: #92bf6d; $custom-dark: #000000;
JSON
{
"hex": "#5fa42b",
"rgb": {
"r": 95,
"g": 164,
"b": 43
},
"hsl": {
"h": 94.215,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.64899,
"c": 0.16712,
"h": 134.8
},
"luminance": 0.29158
}Semantic roles & 50–950 ramp
primary
#5FA42B
secondary
#9B6AC1
accent
#46E29F
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A