#5AA42A#5AA42A
#5AA42A is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.6% C 0.170 H 135.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA42A |
|---|---|
| RGB | rgb(90, 164, 42) |
| HSL | hsl(96, 59%, 40%) |
| HSV | hsv(96, 74%, 64%) |
| CMYK | cmyk(45.1%, 0%, 74.4%, 35.7%) |
| CIE-LAB | lab(60.69, -43.89, 52.78) |
| CIE-LCH | lch(60.69, 68.64, 129.75°) |
| OKLab | oklab(64.64% -0.1223 0.1186) |
| OKLCH | oklch(64.64% 0.17 135.9) |
| XYZ | xyz(17.9094, 28.8907, 6.8228) |
| Luminance | 0.2889 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.25
Grass
#5CAC2D
ΔE00 2.37
Leaf Green
#5CA904
ΔE00 3.14
Leaf
#71AA34
ΔE00 3.51
Grassy Green
#419C03
ΔE00 3.86
Grass Green
#3F9B0B
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA42A #742AA4
analogous
#97A42A #5AA42A #2AA437
triadic
#5AA42A #2A5AA4 #A42A5A
tetradic
#5AA42A #2A97A4 #742AA4 #A4372A
square
#5AA42A #2A97A4 #742AA4 #A4372A
split-complementary
#5AA42A #372AA4 #A42A97
monochromatic
#254311 #3F731E #5AA42A #76CD3E #99DA6E
Accessibility & contrast
On white
3.10
#5AA42A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#5AA42A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA42A
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA42A | 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)
#AA9612
Deuteranopia (green-blind)
#A09036
Tritanopia (blue-blind)
#579E8C
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5aa42a; /* rgb */ color: rgb(90, 164, 42); /* oklch */ color: oklch(64.6% 0.170 135.9);
Tailwind
colors: {
custom: {
50: '#8fbf6c',
500: '#5aa42a',
950: '#000000',
},
}SCSS
$custom: #5aa42a; $custom-light: #8fbf6c; $custom-dark: #000000;
JSON
{
"hex": "#5aa42a",
"rgb": {
"r": 90,
"g": 164,
"b": 42
},
"hsl": {
"h": 96.393,
"s": 59.223,
"l": 40.392
},
"oklch": {
"l": 0.64642,
"c": 0.17031,
"h": 135.9
},
"luminance": 0.28892
}Semantic roles & 50–950 ramp
primary
#5AA42A
secondary
#9E69C1
accent
#45E2A5
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A