#5AAA2F#5AAA2F
#5AAA2F is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.175 H 136.9°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAA2F |
|---|---|
| RGB | rgb(90, 170, 47) |
| HSL | hsl(99, 57%, 43%) |
| HSV | hsv(99, 72%, 67%) |
| CMYK | cmyk(47.1%, 0%, 72.4%, 33.3%) |
| CIE-LAB | lab(62.61, -45.97, 52.87) |
| CIE-LCH | lch(62.61, 70.06, 131.01°) |
| OKLab | oklab(66.24% -0.1275 0.1195) |
| OKLCH | oklch(66.24% 0.175 136.9) |
| XYZ | xyz(19.1037, 31.1271, 7.6903) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.74
Lawn Green
#4DA409
ΔE00 3.02
Leaf Green
#5CA904
ΔE00 3.09
Leaf
#71AA34
ΔE00 3.22
Nasty Green
#70B23F
ΔE00 3.46
Leafy Green
#51B73B
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAA2F #7F2FAA
analogous
#98AA2F #5AAA2F #2FAA41
triadic
#5AAA2F #2F5AAA #AA2F5A
tetradic
#5AAA2F #2F98AA #7F2FAA #AA412F
square
#5AAA2F #2F98AA #7F2FAA #AA412F
split-complementary
#5AAA2F #412FAA #AA2F98
monochromatic
#274A14 #417A22 #5AAA2F #77CD49 #9BDA79
Accessibility & contrast
On white
2.91
#5AAA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#5AAA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAA2F
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAA2F | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09C1A
Deuteranopia (green-blind)
#A5953B
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5aaa2f; /* rgb */ color: rgb(90, 170, 47); /* oklch */ color: oklch(66.2% 0.175 136.9);
Tailwind
colors: {
custom: {
50: '#90c46f',
500: '#5aaa2f',
950: '#000000',
},
}SCSS
$custom: #5aaa2f; $custom-light: #90c46f; $custom-dark: #000000;
JSON
{
"hex": "#5aaa2f",
"rgb": {
"r": 90,
"g": 170,
"b": 47
},
"hsl": {
"h": 99.024,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.66236,
"c": 0.17477,
"h": 136.9
},
"luminance": 0.31128
}Semantic roles & 50–950 ramp
primary
#5AAA2F
secondary
#A672C2
accent
#48E0AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B