#5FAA2A#5FAA2A
#5FAA2A is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.4% C 0.175 H 135.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5FAA2A |
|---|---|
| RGB | rgb(95, 170, 42) |
| HSL | hsl(95, 60%, 42%) |
| HSV | hsv(95, 75%, 67%) |
| CMYK | cmyk(44.1%, 0%, 75.3%, 33.3%) |
| CIE-LAB | lab(62.80, -44.70, 54.94) |
| CIE-LCH | lch(62.80, 70.83, 129.14°) |
| OKLab | oklab(66.44% -0.1248 0.123) |
| OKLCH | oklch(66.44% 0.175 135.4) |
| XYZ | xyz(19.5115, 31.3484, 7.2128) |
| Luminance | 0.3135 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.82
Leaf Green
#5CA904
ΔE00 2.29
Leaf
#71AA34
ΔE00 2.50
Lawn Green
#4DA409
ΔE00 2.90
Nasty Green
#70B23F
ΔE00 3.21
Kermit Green
#5CB200
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5FAA2A #752AAA
analogous
#9FAA2A #5FAA2A #2AAA35
triadic
#5FAA2A #2A5FAA #AA2A5F
tetradic
#5FAA2A #2A9FAA #752AAA #AA352A
square
#5FAA2A #2A9FAA #752AAA #AA352A
split-complementary
#5FAA2A #352AAA #AA2A9F
monochromatic
#284812 #44791E #5FAA2A #7CD041 #9EDC72
Accessibility & contrast
On white
2.89
#5FAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#5FAA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5FAA2A
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5FAA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5FAA2A | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C0E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#5DA392
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5faa2a; /* rgb */ color: rgb(95, 170, 42); /* oklch */ color: oklch(66.4% 0.175 135.4);
Tailwind
colors: {
custom: {
50: '#93c46d',
500: '#5faa2a',
950: '#000000',
},
}SCSS
$custom: #5faa2a; $custom-light: #93c46d; $custom-dark: #000000;
JSON
{
"hex": "#5faa2a",
"rgb": {
"r": 95,
"g": 170,
"b": 42
},
"hsl": {
"h": 95.156,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.66438,
"c": 0.17523,
"h": 135.4
},
"luminance": 0.3135
}Semantic roles & 50–950 ramp
primary
#5FAA2A
secondary
#9F6CC3
accent
#44E4A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A