#5FA12B#5FA12B
#5FA12B is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.163 H 134.5°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA12B |
|---|---|
| RGB | rgb(95, 161, 43) |
| HSL | hsl(94, 58%, 40%) |
| HSV | hsv(94, 73%, 63%) |
| CMYK | cmyk(41%, 0%, 73.3%, 36.9%) |
| CIE-LAB | lab(59.98, -40.88, 51.78) |
| CIE-LCH | lch(59.98, 65.97, 128.29°) |
| OKLab | oklab(64.13% -0.1144 0.1166) |
| OKLCH | oklch(64.13% 0.163 134.5) |
| XYZ | xyz(17.8999, 28.0961, 6.7650) |
| Luminance | 0.2810 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.88
Grass
#5CAC2D
ΔE00 3.35
Leaf
#71AA34
ΔE00 3.53
Leaf Green
#5CA904
ΔE00 3.64
Grassy Green
#419C03
ΔE00 3.93
Grass Green
#3F9B0B
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA12B #6D2BA1
analogous
#9AA12B #5FA12B #2BA132
triadic
#5FA12B #2B5FA1 #A12B5F
tetradic
#5FA12B #2B9AA1 #6D2BA1 #A1322B
square
#5FA12B #2B9AA1 #6D2BA1 #A1322B
split-complementary
#5FA12B #322BA1 #A12B9A
monochromatic
#264011 #43711E #5FA12B #7CCB3E #9DD86E
Accessibility & contrast
On white
3.17
#5FA12B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#5FA12B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA12B
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA12B | 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)
#A79416
Deuteranopia (green-blind)
#9E8F36
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #5fa12b; /* rgb */ color: rgb(95, 161, 43); /* oklch */ color: oklch(64.1% 0.163 134.5);
Tailwind
colors: {
custom: {
50: '#92bd6c',
500: '#5fa12b',
950: '#000000',
},
}SCSS
$custom: #5fa12b; $custom-light: #92bd6c; $custom-dark: #000000;
JSON
{
"hex": "#5fa12b",
"rgb": {
"r": 95,
"g": 161,
"b": 43
},
"hsl": {
"h": 93.559,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.64125,
"c": 0.16331,
"h": 134.5
},
"luminance": 0.28097
}Semantic roles & 50–950 ramp
primary
#5FA12B
secondary
#9969BF
accent
#47E19D
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A