#5AA42B#5AA42B
#5AA42B is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.170 H 136.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA42B |
|---|---|
| RGB | rgb(90, 164, 43) |
| HSL | hsl(97, 58%, 41%) |
| HSV | hsv(97, 74%, 64%) |
| CMYK | cmyk(45.1%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(60.69, -43.82, 52.42) |
| CIE-LCH | lch(60.69, 68.32, 129.89°) |
| OKLab | oklab(64.65% -0.122 0.118) |
| OKLCH | oklch(64.65% 0.17 136) |
| XYZ | xyz(17.9275, 28.8979, 6.9182) |
| Luminance | 0.2890 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.34
Grass
#5CAC2D
ΔE00 2.38
Leaf Green
#5CA904
ΔE00 3.24
Leaf
#71AA34
ΔE00 3.53
Grassy Green
#419C03
ΔE00 3.90
Grass Green
#3F9B0B
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA42B #752BA4
analogous
#96A42B #5AA42B #2BA438
triadic
#5AA42B #2B5AA4 #A42B5A
tetradic
#5AA42B #2B96A4 #752BA4 #A4382B
square
#5AA42B #2B96A4 #752BA4 #A4382B
split-complementary
#5AA42B #382BA4 #A42B96
monochromatic
#254312 #3F741E #5AA42B #76CD3F #99D970
Accessibility & contrast
On white
3.10
#5AA42B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#5AA42B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA42B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA42B | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9614
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#579E8D
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5aa42b; /* rgb */ color: rgb(90, 164, 43); /* oklch */ color: oklch(64.6% 0.170 136.0);
Tailwind
colors: {
custom: {
50: '#8fbf6d',
500: '#5aa42b',
950: '#000000',
},
}SCSS
$custom: #5aa42b; $custom-light: #8fbf6d; $custom-dark: #000000;
JSON
{
"hex": "#5aa42b",
"rgb": {
"r": 90,
"g": 164,
"b": 43
},
"hsl": {
"h": 96.694,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.64649,
"c": 0.16972,
"h": 136
},
"luminance": 0.28899
}Semantic roles & 50–950 ramp
primary
#5AA42B
secondary
#9F6AC1
accent
#46E2A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A