#5AAB2D#5AAB2D
#5AAB2D is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.177 H 136.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAB2D |
|---|---|
| RGB | rgb(90, 171, 45) |
| HSL | hsl(99, 58%, 42%) |
| HSV | hsv(99, 74%, 67%) |
| CMYK | cmyk(47.4%, 0%, 73.7%, 32.9%) |
| CIE-LAB | lab(62.92, -46.52, 53.91) |
| CIE-LCH | lch(62.92, 71.21, 130.79°) |
| OKLab | oklab(66.48% -0.1291 0.1214) |
| OKLCH | oklch(66.48% 0.177 136.8) |
| XYZ | xyz(19.2525, 31.4877, 7.5454) |
| Luminance | 0.3149 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.39
Leaf Green
#5CA904
ΔE00 2.88
Lawn Green
#4DA409
ΔE00 3.04
Leaf
#71AA34
ΔE00 3.19
Nasty Green
#70B23F
ΔE00 3.32
Kermit Green
#5CB200
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAB2D #7E2DAB
analogous
#99AB2D #5AAB2D #2DAB3F
triadic
#5AAB2D #2D5AAB #AB2D5A
tetradic
#5AAB2D #2D99AB #7E2DAB #AB3F2D
square
#5AAB2D #2D99AB #7E2DAB #AB3F2D
split-complementary
#5AAB2D #3F2DAB #AB2D99
monochromatic
#274A14 #417B20 #5AAB2D #77CE47 #9BDB77
Accessibility & contrast
On white
2.88
#5AAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#5AAB2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAB2D
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAB2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAB2D | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C15
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5aab2d; /* rgb */ color: rgb(90, 171, 45); /* oklch */ color: oklch(66.5% 0.177 136.8);
Tailwind
colors: {
custom: {
50: '#90c56e',
500: '#5aab2d',
950: '#000000',
},
}SCSS
$custom: #5aab2d; $custom-light: #90c56e; $custom-dark: #000000;
JSON
{
"hex": "#5aab2d",
"rgb": {
"r": 90,
"g": 171,
"b": 45
},
"hsl": {
"h": 98.571,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.66481,
"c": 0.17724,
"h": 136.8
},
"luminance": 0.31489
}Semantic roles & 50–950 ramp
primary
#5AAB2D
secondary
#A671C3
accent
#46E2AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B