#5AA42F#5AA42F
#5AA42F is a light, vivid yellow-green. Relative luminance 0.289; OKLCH L 64.7% C 0.167 H 136.3°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA42F |
|---|---|
| RGB | rgb(90, 164, 47) |
| HSL | hsl(98, 55%, 41%) |
| HSV | hsv(98, 71%, 64%) |
| CMYK | cmyk(45.1%, 0%, 71.3%, 35.7%) |
| CIE-LAB | lab(60.72, -43.53, 50.94) |
| CIE-LCH | lch(60.72, 67.00, 130.52°) |
| OKLab | oklab(64.68% -0.1209 0.1154) |
| OKLCH | oklch(64.68% 0.167 136.3) |
| XYZ | xyz(18.0045, 28.9287, 7.3239) |
| Luminance | 0.2893 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Grass
#5CAC2D
ΔE00 2.47
Lawn Green
#4DA409
ΔE00 2.71
Leaf
#71AA34
ΔE00 3.64
Leaf Green
#5CA904
ΔE00 3.65
Mid Green
#50A747
ΔE00 3.94
Grassy Green
#419C03
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA42F #792FA4
analogous
#95A42F #5AA42F #2FA43F
triadic
#5AA42F #2F5AA4 #A42F5A
tetradic
#5AA42F #2F95A4 #792FA4 #A43F2F
square
#5AA42F #2F95A4 #792FA4 #A43F2F
split-complementary
#5AA42F #3F2FA4 #A42F95
monochromatic
#264514 #407421 #5AA42F #77CA46 #9AD876
Accessibility & contrast
On white
3.09
#5AA42F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.79
#5AA42F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA42F
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA42F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA42F | 1.00 | 3.09 | 6.79 | 6.79 |
| #FFFFFF | 3.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA961C
Deuteranopia (green-blind)
#A0903A
Tritanopia (blue-blind)
#579E8D
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #5aa42f; /* rgb */ color: rgb(90, 164, 47); /* oklch */ color: oklch(64.7% 0.167 136.3);
Tailwind
colors: {
custom: {
50: '#8fbf6f',
500: '#5aa42f',
950: '#000000',
},
}SCSS
$custom: #5aa42f; $custom-light: #8fbf6f; $custom-dark: #000000;
JSON
{
"hex": "#5aa42f",
"rgb": {
"r": 90,
"g": 164,
"b": 47
},
"hsl": {
"h": 97.949,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.6468,
"c": 0.16718,
"h": 136.3
},
"luminance": 0.2893
}Semantic roles & 50–950 ramp
primary
#5AA42F
secondary
#A26FC0
accent
#49DFA8
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1208
muted
#7E817B