#5AA42E#5AA42E
#5AA42E is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.7% C 0.168 H 136.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA42E |
|---|---|
| RGB | rgb(90, 164, 46) |
| HSL | hsl(98, 56%, 41%) |
| HSV | hsv(98, 72%, 64%) |
| CMYK | cmyk(45.1%, 0%, 72%, 35.7%) |
| CIE-LAB | lab(60.71, -43.60, 51.31) |
| CIE-LCH | lch(60.71, 67.34, 130.36°) |
| OKLab | oklab(64.67% -0.1212 0.1161) |
| OKLCH | oklch(64.67% 0.168 136.2) |
| XYZ | xyz(17.9846, 28.9207, 7.2188) |
| Luminance | 0.2892 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.44
Lawn Green
#4DA409
ΔE00 2.61
Leaf Green
#5CA904
ΔE00 3.54
Leaf
#71AA34
ΔE00 3.61
Grassy Green
#419C03
ΔE00 4.03
Mid Green
#50A747
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA42E #782EA4
analogous
#95A42E #5AA42E #2EA43D
triadic
#5AA42E #2E5AA4 #A42E5A
tetradic
#5AA42E #2E95A4 #782EA4 #A43D2E
square
#5AA42E #2E95A4 #782EA4 #A43D2E
split-complementary
#5AA42E #3D2EA4 #A42E95
monochromatic
#264413 #407421 #5AA42E #77CB45 #9AD874
Accessibility & contrast
On white
3.10
#5AA42E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#5AA42E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA42E
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA42E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA42E | 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)
#AA961A
Deuteranopia (green-blind)
#A09039
Tritanopia (blue-blind)
#579E8D
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5aa42e; /* rgb */ color: rgb(90, 164, 46); /* oklch */ color: oklch(64.7% 0.168 136.2);
Tailwind
colors: {
custom: {
50: '#8fbf6e',
500: '#5aa42e',
950: '#000000',
},
}SCSS
$custom: #5aa42e; $custom-light: #8fbf6e; $custom-dark: #000000;
JSON
{
"hex": "#5aa42e",
"rgb": {
"r": 90,
"g": 164,
"b": 46
},
"hsl": {
"h": 97.627,
"s": 56.19,
"l": 41.176
},
"oklch": {
"l": 0.64672,
"c": 0.16783,
"h": 136.2
},
"luminance": 0.28922
}Semantic roles & 50–950 ramp
primary
#5AA42E
secondary
#A16EC0
accent
#48DFA7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B