#5FA42E#5FA42E
#5FA42E is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.165 H 135.1°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA42E |
|---|---|
| RGB | rgb(95, 164, 46) |
| HSL | hsl(95, 56%, 41%) |
| HSV | hsv(95, 72%, 64%) |
| CMYK | cmyk(42.1%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(60.94, -41.94, 51.62) |
| CIE-LCH | lch(60.94, 66.51, 129.09°) |
| OKLab | oklab(64.92% -0.117 0.1167) |
| OKLCH | oklch(64.92% 0.165 135.1) |
| XYZ | xyz(18.4875, 29.1801, 7.2424) |
| Luminance | 0.2918 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.45
Lawn Green
#4DA409
ΔE00 2.81
Leaf
#71AA34
ΔE00 3.01
Leaf Green
#5CA904
ΔE00 3.30
Grassy Green
#419C03
ΔE00 4.38
Nasty Green
#70B23F
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA42E #732EA4
analogous
#9AA42E #5FA42E #2EA438
triadic
#5FA42E #2E5FA4 #A42E5F
tetradic
#5FA42E #2E9AA4 #732EA4 #A4382E
square
#5FA42E #2E9AA4 #732EA4 #A4382E
split-complementary
#5FA42E #382EA4 #A42E9A
monochromatic
#284413 #437421 #5FA42E #7CCB45 #9ED874
Accessibility & contrast
On white
3.07
#5FA42E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#5FA42E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA42E
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA42E | 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)
#AA971A
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#5D9E8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5fa42e; /* rgb */ color: rgb(95, 164, 46); /* oklch */ color: oklch(64.9% 0.165 135.1);
Tailwind
colors: {
custom: {
50: '#92bf6e',
500: '#5fa42e',
950: '#000000',
},
}SCSS
$custom: #5fa42e; $custom-light: #92bf6e; $custom-dark: #000000;
JSON
{
"hex": "#5fa42e",
"rgb": {
"r": 95,
"g": 164,
"b": 46
},
"hsl": {
"h": 95.085,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.64922,
"c": 0.16524,
"h": 135.1
},
"luminance": 0.29181
}Semantic roles & 50–950 ramp
primary
#5FA42E
secondary
#9E6EC0
accent
#48DFA1
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1208
muted
#7E817B