#5AA226#5AA226
#5AA226 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.170 H 135.3°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA226 |
|---|---|
| RGB | rgb(90, 162, 38) |
| HSL | hsl(95, 62%, 39%) |
| HSV | hsv(95, 77%, 64%) |
| CMYK | cmyk(44.4%, 0%, 76.5%, 36.5%) |
| CIE-LAB | lab(60.03, -43.33, 53.54) |
| CIE-LCH | lch(60.03, 68.87, 128.98°) |
| OKLab | oklab(64.09% -0.121 0.1196) |
| OKLCH | oklch(64.09% 0.17 135.3) |
| XYZ | xyz(17.4862, 28.1532, 6.3461) |
| Luminance | 0.2815 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.12
Grass
#5CAC2D
ΔE00 2.99
Leaf Green
#5CA904
ΔE00 3.20
Grassy Green
#419C03
ΔE00 3.42
Grass Green
#3F9B0B
ΔE00 3.68
Leaf
#71AA34
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA226 #6E26A2
analogous
#98A226 #5AA226 #26A230
triadic
#5AA226 #265AA2 #A2265A
tetradic
#5AA226 #2698A2 #6E26A2 #A23026
square
#5AA226 #2698A2 #6E26A2 #A23026
split-complementary
#5AA226 #3026A2 #A22698
monochromatic
#233F0F #3E701A #5AA226 #76D035 #98DB67
Accessibility & contrast
On white
3.17
#5AA226 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#5AA226 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA226
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA226 | 1.00 | 3.17 | 6.63 | 6.63 |
| #FFFFFF | 3.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89409
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5aa226; /* rgb */ color: rgb(90, 162, 38); /* oklch */ color: oklch(64.1% 0.170 135.3);
Tailwind
colors: {
custom: {
50: '#8fbe6a',
500: '#5aa226',
950: '#000000',
},
}SCSS
$custom: #5aa226; $custom-light: #8fbe6a; $custom-dark: #000000;
JSON
{
"hex": "#5aa226",
"rgb": {
"r": 90,
"g": 162,
"b": 38
},
"hsl": {
"h": 94.839,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.64094,
"c": 0.17013,
"h": 135.3
},
"luminance": 0.28154
}Semantic roles & 50–950 ramp
primary
#5AA226
secondary
#9A63C1
accent
#43E5A1
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A