#5AAA2A#5AAA2A
#5AAA2A is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.178 H 136.4°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAA2A |
|---|---|
| RGB | rgb(90, 170, 42) |
| HSL | hsl(98, 60%, 42%) |
| HSV | hsv(98, 75%, 67%) |
| CMYK | cmyk(47.1%, 0%, 75.3%, 33.3%) |
| CIE-LAB | lab(62.58, -46.32, 54.65) |
| CIE-LCH | lch(62.58, 71.64, 130.28°) |
| OKLab | oklab(66.2% -0.1288 0.1225) |
| OKLCH | oklch(66.2% 0.178 136.4) |
| XYZ | xyz(19.0086, 31.0890, 7.1892) |
| Luminance | 0.3109 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.63
Leaf Green
#5CA904
ΔE00 2.57
Lawn Green
#4DA409
ΔE00 2.69
Leaf
#71AA34
ΔE00 3.12
Nasty Green
#70B23F
ΔE00 3.54
Kermit Green
#5CB200
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAA2A #7A2AAA
analogous
#9AAA2A #5AAA2A #2AAA3A
triadic
#5AAA2A #2A5AAA #AA2A5A
tetradic
#5AAA2A #2A9AAA #7A2AAA #AA3A2A
square
#5AAA2A #2A9AAA #7A2AAA #AA3A2A
split-complementary
#5AAA2A #3A2AAA #AA2A9A
monochromatic
#264812 #40791E #5AAA2A #77D041 #9ADC72
Accessibility & contrast
On white
2.91
#5AAA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#5AAA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAA2A
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAA2A | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B0F
Deuteranopia (green-blind)
#A59537
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #5aaa2a; /* rgb */ color: rgb(90, 170, 42); /* oklch */ color: oklch(66.2% 0.178 136.4);
Tailwind
colors: {
custom: {
50: '#90c46d',
500: '#5aaa2a',
950: '#000000',
},
}SCSS
$custom: #5aaa2a; $custom-light: #90c46d; $custom-dark: #000000;
JSON
{
"hex": "#5aaa2a",
"rgb": {
"r": 90,
"g": 170,
"b": 42
},
"hsl": {
"h": 97.5,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.662,
"c": 0.17776,
"h": 136.4
},
"luminance": 0.3109
}Semantic roles & 50–950 ramp
primary
#5AAA2A
secondary
#A36CC3
accent
#44E4A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A