#5FA42A#5FA42A
#5FA42A is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.168 H 134.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA42A |
|---|---|
| RGB | rgb(95, 164, 42) |
| HSL | hsl(94, 59%, 40%) |
| HSV | hsv(94, 74%, 64%) |
| CMYK | cmyk(42.1%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(60.91, -42.22, 53.08) |
| CIE-LCH | lch(60.91, 67.82, 128.50°) |
| OKLab | oklab(64.89% -0.1181 0.1191) |
| OKLCH | oklch(64.89% 0.168 134.7) |
| XYZ | xyz(18.4123, 29.1500, 6.8464) |
| Luminance | 0.2915 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.44
Lawn Green
#4DA409
ΔE00 2.53
Leaf Green
#5CA904
ΔE00 2.91
Leaf
#71AA34
ΔE00 2.94
Grassy Green
#419C03
ΔE00 4.25
Grass Green
#3F9B0B
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA42A #6F2AA4
analogous
#9CA42A #5FA42A #2AA432
triadic
#5FA42A #2A5FA4 #A42A5F
tetradic
#5FA42A #2A9CA4 #6F2AA4 #A4322A
square
#5FA42A #2A9CA4 #6F2AA4 #A4322A
split-complementary
#5FA42A #322AA4 #A42A9C
monochromatic
#274311 #43731E #5FA42A #7CCD3E #9DDA6E
Accessibility & contrast
On white
3.07
#5FA42A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.83
#5FA42A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA42A
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA42A | 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)
#AA9712
Deuteranopia (green-blind)
#A19136
Tritanopia (blue-blind)
#5E9E8C
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5fa42a; /* rgb */ color: rgb(95, 164, 42); /* oklch */ color: oklch(64.9% 0.168 134.7);
Tailwind
colors: {
custom: {
50: '#92bf6c',
500: '#5fa42a',
950: '#000000',
},
}SCSS
$custom: #5fa42a; $custom-light: #92bf6c; $custom-dark: #000000;
JSON
{
"hex": "#5fa42a",
"rgb": {
"r": 95,
"g": 164,
"b": 42
},
"hsl": {
"h": 93.934,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.64892,
"c": 0.16772,
"h": 134.7
},
"luminance": 0.29151
}Semantic roles & 50–950 ramp
primary
#5FA42A
secondary
#9B69C1
accent
#45E29E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A