#5FA42F#5FA42F
#5FA42F is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.165 H 135.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA42F |
|---|---|
| RGB | rgb(95, 164, 47) |
| HSL | hsl(95, 55%, 41%) |
| HSV | hsv(95, 71%, 64%) |
| CMYK | cmyk(42.1%, 0%, 71.3%, 35.7%) |
| CIE-LAB | lab(60.95, -41.86, 51.24) |
| CIE-LCH | lch(60.95, 66.17, 129.25°) |
| OKLab | oklab(64.93% -0.1167 0.116) |
| OKLCH | oklch(64.93% 0.165 135.2) |
| XYZ | xyz(18.5074, 29.1880, 7.3474) |
| Luminance | 0.2919 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.47
Lawn Green
#4DA409
ΔE00 2.89
Leaf
#71AA34
ΔE00 3.04
Leaf Green
#5CA904
ΔE00 3.40
Grassy Green
#419C03
ΔE00 4.42
Mid Green
#50A747
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA42F #742FA4
analogous
#9AA42F #5FA42F #2FA43A
triadic
#5FA42F #2F5FA4 #A42F5F
tetradic
#5FA42F #2F9AA4 #742FA4 #A43A2F
square
#5FA42F #2F9AA4 #742FA4 #A43A2F
split-complementary
#5FA42F #3A2FA4 #A42F9A
monochromatic
#284514 #437421 #5FA42F #7CCA46 #9ED876
Accessibility & contrast
On white
3.07
#5FA42F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#5FA42F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA42F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA42F | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA971C
Deuteranopia (green-blind)
#A1913A
Tritanopia (blue-blind)
#5D9E8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5fa42f; /* rgb */ color: rgb(95, 164, 47); /* oklch */ color: oklch(64.9% 0.165 135.2);
Tailwind
colors: {
custom: {
50: '#92bf6f',
500: '#5fa42f',
950: '#000000',
},
}SCSS
$custom: #5fa42f; $custom-light: #92bf6f; $custom-dark: #000000;
JSON
{
"hex": "#5fa42f",
"rgb": {
"r": 95,
"g": 164,
"b": 47
},
"hsl": {
"h": 95.385,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.6493,
"c": 0.16458,
"h": 135.2
},
"luminance": 0.29189
}Semantic roles & 50–950 ramp
primary
#5FA42F
secondary
#9F6FC0
accent
#49DFA1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B