#5AA227#5AA227
#5AA227 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.1% C 0.170 H 135.4°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA227 |
|---|---|
| RGB | rgb(90, 162, 39) |
| HSL | hsl(95, 61%, 39%) |
| HSV | hsv(95, 76%, 64%) |
| CMYK | cmyk(44.4%, 0%, 75.9%, 36.5%) |
| CIE-LAB | lab(60.03, -43.27, 53.20) |
| CIE-LCH | lch(60.03, 68.57, 129.12°) |
| OKLab | oklab(64.1% -0.1208 0.119) |
| OKLCH | oklch(64.1% 0.17 135.4) |
| XYZ | xyz(17.5026, 28.1598, 6.4322) |
| Luminance | 0.2816 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 2.18
Grass
#5CAC2D
ΔE00 2.98
Leaf Green
#5CA904
ΔE00 3.28
Grassy Green
#419C03
ΔE00 3.45
Grass Green
#3F9B0B
ΔE00 3.70
Leaf
#71AA34
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA227 #6F27A2
analogous
#98A227 #5AA227 #27A232
triadic
#5AA227 #275AA2 #A2275A
tetradic
#5AA227 #2798A2 #6F27A2 #A23227
square
#5AA227 #2798A2 #6F27A2 #A23227
split-complementary
#5AA227 #3227A2 #A22798
monochromatic
#233F0F #3F711B #5AA227 #76CF37 #98DB69
Accessibility & contrast
On white
3.17
#5AA227 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.63
#5AA227 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA227
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA227 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA227 | 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)
#A8940C
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#589C8B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5aa227; /* rgb */ color: rgb(90, 162, 39); /* oklch */ color: oklch(64.1% 0.170 135.4);
Tailwind
colors: {
custom: {
50: '#8fbe6a',
500: '#5aa227',
950: '#000000',
},
}SCSS
$custom: #5aa227; $custom-light: #8fbe6a; $custom-dark: #000000;
JSON
{
"hex": "#5aa227",
"rgb": {
"r": 90,
"g": 162,
"b": 39
},
"hsl": {
"h": 95.122,
"s": 61.194,
"l": 39.412
},
"oklch": {
"l": 0.64101,
"c": 0.16956,
"h": 135.4
},
"luminance": 0.28161
}Semantic roles & 50–950 ramp
primary
#5AA227
secondary
#9A64C1
accent
#43E4A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A