#5FA12A#5FA12A
#5FA12A is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.164 H 134.4°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA12A |
|---|---|
| RGB | rgb(95, 161, 42) |
| HSL | hsl(93, 59%, 40%) |
| HSV | hsv(93, 74%, 63%) |
| CMYK | cmyk(41%, 0%, 73.9%, 36.9%) |
| CIE-LAB | lab(59.97, -40.95, 52.14) |
| CIE-LCH | lch(59.97, 66.30, 128.14°) |
| OKLab | oklab(64.12% -0.1146 0.1172) |
| OKLCH | oklch(64.12% 0.164 134.4) |
| XYZ | xyz(17.8818, 28.0889, 6.6695) |
| Luminance | 0.2809 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.82
Grass
#5CAC2D
ΔE00 3.35
Leaf
#71AA34
ΔE00 3.51
Leaf Green
#5CA904
ΔE00 3.56
Grassy Green
#419C03
ΔE00 3.89
Grass Green
#3F9B0B
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA12A #6C2AA1
analogous
#9BA12A #5FA12A #2AA130
triadic
#5FA12A #2A5FA1 #A12A5F
tetradic
#5FA12A #2A9BA1 #6C2AA1 #A1302A
square
#5FA12A #2A9BA1 #6C2AA1 #A1302A
split-complementary
#5FA12A #302AA1 #A12A9B
monochromatic
#264011 #42701D #5FA12A #7CCC3C #9DD96D
Accessibility & contrast
On white
3.17
#5FA12A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#5FA12A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA12A
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA12A | 1.00 | 3.17 | 6.62 | 6.62 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79414
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5fa12a; /* rgb */ color: rgb(95, 161, 42); /* oklch */ color: oklch(64.1% 0.164 134.4);
Tailwind
colors: {
custom: {
50: '#92bd6c',
500: '#5fa12a',
950: '#000000',
},
}SCSS
$custom: #5fa12a; $custom-light: #92bd6c; $custom-dark: #000000;
JSON
{
"hex": "#5fa12a",
"rgb": {
"r": 95,
"g": 161,
"b": 42
},
"hsl": {
"h": 93.277,
"s": 58.621,
"l": 39.804
},
"oklch": {
"l": 0.64118,
"c": 0.16392,
"h": 134.4
},
"luminance": 0.2809
}Semantic roles & 50–950 ramp
primary
#5FA12A
secondary
#9867C0
accent
#46E29C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A