#5AA231#5AA231
#5AA231 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.2% C 0.163 H 136.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #5AA231 |
|---|---|
| RGB | rgb(90, 162, 49) |
| HSL | hsl(98, 54%, 41%) |
| HSV | hsv(98, 70%, 64%) |
| CMYK | cmyk(44.4%, 0%, 69.8%, 36.5%) |
| CIE-LAB | lab(60.10, -42.54, 49.51) |
| CIE-LCH | lch(60.10, 65.27, 130.67°) |
| OKLab | oklab(64.18% -0.1181 0.1127) |
| OKLCH | oklch(64.18% 0.163 136.3) |
| XYZ | xyz(17.6907, 28.2350, 7.4229) |
| Luminance | 0.2824 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Lawn Green
#4DA409
ΔE00 3.08
Grass
#5CAC2D
ΔE00 3.15
Mid Green
#50A747
ΔE00 3.84
Grassy Green
#419C03
ΔE00 3.95
Grass Green
#3F9B0B
ΔE00 4.04
Leaf
#71AA34
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AA231 #7931A2
analogous
#93A231 #5AA231 #31A241
triadic
#5AA231 #315AA2 #A2315A
tetradic
#5AA231 #3193A2 #7931A2 #A24131
square
#5AA231 #3193A2 #7931A2 #A24131
split-complementary
#5AA231 #4131A2 #A23193
monochromatic
#264415 #407323 #5AA231 #77C848 #9AD677
Accessibility & contrast
On white
3.16
#5AA231 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.65
#5AA231 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5AA231
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AA231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AA231 | 1.00 | 3.16 | 6.65 | 6.65 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#579C8B
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #5aa231; /* rgb */ color: rgb(90, 162, 49); /* oklch */ color: oklch(64.2% 0.163 136.3);
Tailwind
colors: {
custom: {
50: '#8fbe6f',
500: '#5aa231',
950: '#000000',
},
}SCSS
$custom: #5aa231; $custom-light: #8fbe6f; $custom-dark: #000000;
JSON
{
"hex": "#5aa231",
"rgb": {
"r": 90,
"g": 162,
"b": 49
},
"hsl": {
"h": 98.23,
"s": 53.555,
"l": 41.373
},
"oklch": {
"l": 0.64178,
"c": 0.16327,
"h": 136.3
},
"luminance": 0.28236
}Semantic roles & 50–950 ramp
primary
#5AA231
secondary
#A271BE
accent
#4BDDA8
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B