#5AA526#5AA526
#5AA526 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.174 H 135.7°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA526 |
|---|---|
| RGB | rgb(90, 165, 38) |
| HSL | hsl(95, 63%, 40%) |
| HSV | hsv(95, 77%, 65%) |
| CMYK | cmyk(45.5%, 0%, 77%, 35.3%) |
| CIE-LAB | lab(60.98, -44.56, 54.46) |
| CIE-LCH | lch(60.98, 70.36, 129.29°) |
| OKLab | oklab(64.87% -0.1243 0.1215) |
| OKLCH | oklch(64.87% 0.174 135.7) |
| XYZ | xyz(18.0210, 29.2228, 6.5243) |
| Luminance | 0.2922 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.94
Grass
#5CAC2D
ΔE00 2.10
Leaf Green
#5CA904
ΔE00 2.60
Leaf
#71AA34
ΔE00 3.34
Grassy Green
#419C03
ΔE00 3.93
Grass Green
#3F9B0B
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA526 #7126A5
analogous
#9AA526 #5AA526 #26A531
triadic
#5AA526 #265AA5 #A5265A
tetradic
#5AA526 #269AA5 #7126A5 #A53126
square
#5AA526 #269AA5 #7126A5 #A53126
split-complementary
#5AA526 #3126A5 #A5269A
monochromatic
#24420F #3F731B #5AA526 #76D137 #98DC69
Accessibility & contrast
On white
3.07
#5AA526 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#5AA526 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA526
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA526 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA526 | 1.00 | 3.07 | 6.84 | 6.84 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5aa526; /* rgb */ color: rgb(90, 165, 38); /* oklch */ color: oklch(64.9% 0.174 135.7);
Tailwind
colors: {
custom: {
50: '#8fc06a',
500: '#5aa526',
950: '#000000',
},
}SCSS
$custom: #5aa526; $custom-light: #8fc06a; $custom-dark: #000000;
JSON
{
"hex": "#5aa526",
"rgb": {
"r": 90,
"g": 165,
"b": 38
},
"hsl": {
"h": 95.433,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.64874,
"c": 0.17383,
"h": 135.7
},
"luminance": 0.29224
}Semantic roles & 50–950 ramp
primary
#5AA526
secondary
#9C64C3
accent
#42E6A3
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0D1207
muted
#7E817A