#5FA12C#5FA12C
#5FA12C is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.163 H 134.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5FA12C |
|---|---|
| RGB | rgb(95, 161, 44) |
| HSL | hsl(94, 57%, 40%) |
| HSV | hsv(94, 73%, 63%) |
| CMYK | cmyk(41%, 0%, 72.7%, 36.9%) |
| CIE-LAB | lab(59.98, -40.81, 51.41) |
| CIE-LCH | lch(59.98, 65.64, 128.44°) |
| OKLab | oklab(64.13% -0.1141 0.1159) |
| OKLCH | oklch(64.13% 0.163 134.6) |
| XYZ | xyz(17.9184, 28.1036, 6.8628) |
| Luminance | 0.2810 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.95
Grass
#5CAC2D
ΔE00 3.36
Leaf
#71AA34
ΔE00 3.54
Leaf Green
#5CA904
ΔE00 3.72
Grassy Green
#419C03
ΔE00 3.96
Grass Green
#3F9B0B
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FA12C #6E2CA1
analogous
#99A12C #5FA12C #2CA133
triadic
#5FA12C #2C5FA1 #A12C5F
tetradic
#5FA12C #2C99A1 #6E2CA1 #A1332C
square
#5FA12C #2C99A1 #6E2CA1 #A1332C
split-complementary
#5FA12C #332CA1 #A12C99
monochromatic
#264112 #43711F #5FA12C #7CCB40 #9DD870
Accessibility & contrast
On white
3.17
#5FA12C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.62
#5FA12C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5FA12C
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FA12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FA12C | 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)
#A79418
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#5E9B8A
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5fa12c; /* rgb */ color: rgb(95, 161, 44); /* oklch */ color: oklch(64.1% 0.163 134.6);
Tailwind
colors: {
custom: {
50: '#92bd6d',
500: '#5fa12c',
950: '#000000',
},
}SCSS
$custom: #5fa12c; $custom-light: #92bd6d; $custom-dark: #000000;
JSON
{
"hex": "#5fa12c",
"rgb": {
"r": 95,
"g": 161,
"b": 44
},
"hsl": {
"h": 93.846,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.64133,
"c": 0.16267,
"h": 134.6
},
"luminance": 0.28104
}Semantic roles & 50–950 ramp
primary
#5FA12C
secondary
#9A6ABF
accent
#47E09E
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A