#5AAB2F#5AAB2F
#5AAB2F is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.176 H 137.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5AAB2F |
|---|---|
| RGB | rgb(90, 171, 47) |
| HSL | hsl(99, 57%, 43%) |
| HSV | hsv(99, 73%, 67%) |
| CMYK | cmyk(47.4%, 0%, 72.5%, 32.9%) |
| CIE-LAB | lab(62.93, -46.37, 53.19) |
| CIE-LCH | lch(62.93, 70.57, 131.08°) |
| OKLab | oklab(66.5% -0.1286 0.1202) |
| OKLCH | oklch(66.5% 0.176 137) |
| XYZ | xyz(19.2919, 31.5034, 7.7530) |
| Luminance | 0.3150 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 0.51
Leaf Green
#5CA904
ΔE00 3.10
Lawn Green
#4DA409
ΔE00 3.17
Leaf
#71AA34
ΔE00 3.24
Nasty Green
#70B23F
ΔE00 3.29
Leafy Green
#51B73B
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AAB2F #802FAB
analogous
#98AB2F #5AAB2F #2FAB42
triadic
#5AAB2F #2F5AAB #AB2F5A
tetradic
#5AAB2F #2F98AB #802FAB #AB422F
square
#5AAB2F #2F98AB #802FAB #AB422F
split-complementary
#5AAB2F #422FAB #AB2F98
monochromatic
#274B15 #417B22 #5AAB2F #77CD4A #9BDA7A
Accessibility & contrast
On white
2.88
#5AAB2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#5AAB2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AAB2F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AAB2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AAB2F | 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)
#B19C19
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #5aab2f; /* rgb */ color: rgb(90, 171, 47); /* oklch */ color: oklch(66.5% 0.176 137.0);
Tailwind
colors: {
custom: {
50: '#90c56f',
500: '#5aab2f',
950: '#000000',
},
}SCSS
$custom: #5aab2f; $custom-light: #90c56f; $custom-dark: #000000;
JSON
{
"hex": "#5aab2f",
"rgb": {
"r": 90,
"g": 171,
"b": 47
},
"hsl": {
"h": 99.194,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.66496,
"c": 0.17602,
"h": 137
},
"luminance": 0.31505
}Semantic roles & 50–950 ramp
primary
#5AAB2F
secondary
#A773C3
accent
#48E0AB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B