#5AAB2A#5AAB2A
#5AAB2A is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.179 H 136.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAB2A |
|---|---|
| RGB | rgb(90, 171, 42) |
| HSL | hsl(98, 61%, 42%) |
| HSV | hsv(98, 75%, 67%) |
| CMYK | cmyk(47.4%, 0%, 75.4%, 32.9%) |
| CIE-LAB | lab(62.90, -46.72, 54.96) |
| CIE-LCH | lch(62.90, 72.14, 130.37°) |
| OKLab | oklab(66.46% -0.1299 0.1231) |
| OKLCH | oklch(66.46% 0.179 136.5) |
| XYZ | xyz(19.1967, 31.4654, 7.2519) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.40
Leaf Green
#5CA904
ΔE00 2.58
Lawn Green
#4DA409
ΔE00 2.87
Leaf
#71AA34
ΔE00 3.15
Nasty Green
#70B23F
ΔE00 3.38
Kermit Green
#5CB200
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAB2A #7B2AAB
analogous
#9BAB2A #5AAB2A #2AAB3A
triadic
#5AAB2A #2A5AAB #AB2A5A
tetradic
#5AAB2A #2A9BAB #7B2AAB #AB3A2A
square
#5AAB2A #2A9BAB #7B2AAB #AB3A2A
split-complementary
#5AAB2A #3A2AAB #AB2A9B
monochromatic
#264912 #407A1E #5AAB2A #77D142 #9ADD73
Accessibility & contrast
On white
2.88
#5AAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#5AAB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAB2A
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAB2A | 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)
#B19C0E
Deuteranopia (green-blind)
#A69637
Tritanopia (blue-blind)
#56A592
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5aab2a; /* rgb */ color: rgb(90, 171, 42); /* oklch */ color: oklch(66.5% 0.179 136.5);
Tailwind
colors: {
custom: {
50: '#90c56d',
500: '#5aab2a',
950: '#000000',
},
}SCSS
$custom: #5aab2a; $custom-light: #90c56d; $custom-dark: #000000;
JSON
{
"hex": "#5aab2a",
"rgb": {
"r": 90,
"g": 171,
"b": 42
},
"hsl": {
"h": 97.674,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.66459,
"c": 0.17898,
"h": 136.5
},
"luminance": 0.31467
}Semantic roles & 50–950 ramp
primary
#5AAB2A
secondary
#A46DC4
accent
#44E4A8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A