#5AA525#5AA525
#5AA525 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.174 H 135.6°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA525 |
|---|---|
| RGB | rgb(90, 165, 37) |
| HSL | hsl(95, 63%, 40%) |
| HSV | hsv(95, 78%, 65%) |
| CMYK | cmyk(45.5%, 0%, 77.6%, 35.3%) |
| CIE-LAB | lab(60.97, -44.62, 54.78) |
| CIE-LCH | lch(60.97, 70.65, 129.16°) |
| OKLab | oklab(64.87% -0.1246 0.122) |
| OKLCH | oklch(64.87% 0.174 135.6) |
| XYZ | xyz(18.0051, 29.2164, 6.4405) |
| Luminance | 0.2922 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 1.87
Grass
#5CAC2D
ΔE00 2.12
Leaf Green
#5CA904
ΔE00 2.52
Leaf
#71AA34
ΔE00 3.34
Grassy Green
#419C03
ΔE00 3.91
Grass Green
#3F9B0B
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA525 #7025A5
analogous
#9AA525 #5AA525 #25A530
triadic
#5AA525 #255AA5 #A5255A
tetradic
#5AA525 #259AA5 #7025A5 #A53025
square
#5AA525 #259AA5 #7025A5 #A53025
split-complementary
#5AA525 #3025A5 #A5259A
monochromatic
#23410F #3F731A #5AA525 #76D235 #98DD67
Accessibility & contrast
On white
3.07
#5AA525 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.84
#5AA525 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA525
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA525 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA525 | 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)
#AB9703
Deuteranopia (green-blind)
#A19133
Tritanopia (blue-blind)
#579F8D
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #5aa525; /* rgb */ color: rgb(90, 165, 37); /* oklch */ color: oklch(64.9% 0.174 135.6);
Tailwind
colors: {
custom: {
50: '#90c06a',
500: '#5aa525',
950: '#000000',
},
}SCSS
$custom: #5aa525; $custom-light: #90c06a; $custom-dark: #000000;
JSON
{
"hex": "#5aa525",
"rgb": {
"r": 90,
"g": 165,
"b": 37
},
"hsl": {
"h": 95.156,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.64868,
"c": 0.17437,
"h": 135.6
},
"luminance": 0.29217
}Semantic roles & 50–950 ramp
primary
#5AA525
secondary
#9B63C3
accent
#41E6A2
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A