#5AAB2B#5AAB2B
#5AAB2B is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.178 H 136.6°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAB2B |
|---|---|
| RGB | rgb(90, 171, 43) |
| HSL | hsl(98, 60%, 42%) |
| HSV | hsv(98, 75%, 67%) |
| CMYK | cmyk(47.4%, 0%, 74.9%, 32.9%) |
| CIE-LAB | lab(62.90, -46.65, 54.62) |
| CIE-LCH | lch(62.90, 71.83, 130.50°) |
| OKLab | oklab(66.47% -0.1297 0.1226) |
| OKLCH | oklch(66.47% 0.178 136.6) |
| XYZ | xyz(19.2149, 31.4726, 7.3474) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.37
Leaf Green
#5CA904
ΔE00 2.68
Lawn Green
#4DA409
ΔE00 2.92
Leaf
#71AA34
ΔE00 3.16
Nasty Green
#70B23F
ΔE00 3.36
Kermit Green
#5CB200
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAB2B #7C2BAB
analogous
#9AAB2B #5AAB2B #2BAB3C
triadic
#5AAB2B #2B5AAB #AB2B5A
tetradic
#5AAB2B #2B9AAB #7C2BAB #AB3C2B
square
#5AAB2B #2B9AAB #7C2BAB #AB3C2B
split-complementary
#5AAB2B #3C2BAB #AB2B9A
monochromatic
#274912 #407A1F #5AAB2B #77D043 #9ADC74
Accessibility & contrast
On white
2.88
#5AAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#5AAB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAB2B
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAB2B | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C11
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5aab2b; /* rgb */ color: rgb(90, 171, 43); /* oklch */ color: oklch(66.5% 0.178 136.6);
Tailwind
colors: {
custom: {
50: '#90c56d',
500: '#5aab2b',
950: '#000000',
},
}SCSS
$custom: #5aab2b; $custom-light: #90c56d; $custom-dark: #000000;
JSON
{
"hex": "#5aab2b",
"rgb": {
"r": 90,
"g": 171,
"b": 43
},
"hsl": {
"h": 97.969,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.66466,
"c": 0.17842,
"h": 136.6
},
"luminance": 0.31474
}Semantic roles & 50–950 ramp
primary
#5AAB2B
secondary
#A46EC4
accent
#45E3A9
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B