#5AB231#5AB231
#5AB231 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.3% C 0.183 H 137.7°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB231 |
|---|---|
| RGB | rgb(90, 178, 49) |
| HSL | hsl(101, 57%, 45%) |
| HSV | hsv(101, 72%, 70%) |
| CMYK | cmyk(49.4%, 0%, 72.5%, 30.2%) |
| CIE-LAB | lab(65.15, -49.00, 54.69) |
| CIE-LCH | lch(65.15, 73.43, 131.86°) |
| OKLab | oklab(68.32% -0.1356 0.1236) |
| OKLCH | oklch(68.32% 0.183 137.7) |
| XYZ | xyz(20.6905, 34.2347, 8.4228) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Grass
#5CAC2D
ΔE00 1.77
Leafy Green
#51B73B
ΔE00 2.11
Nasty Green
#70B23F
ΔE00 2.75
Kermit Green
#5CB200
ΔE00 3.19
Kelly Green
#4CBB17
ΔE00 3.31
Leaf Green
#5CA904
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB231 #8931B2
analogous
#9BB231 #5AB231 #31B248
triadic
#5AB231 #315AB2 #B2315A
tetradic
#5AB231 #319BB2 #8931B2 #B24831
square
#5AB231 #319BB2 #8931B2 #B24831
split-complementary
#5AB231 #4831B2 #B2319B
monochromatic
#295217 #428224 #5AB231 #79CF51 #9EDC81
Accessibility & contrast
On white
2.68
#5AB231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#5AB231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB231
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB231 | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AC9B3E
Tritanopia (blue-blind)
#54AC99
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #5ab231; /* rgb */ color: rgb(90, 178, 49); /* oklch */ color: oklch(68.3% 0.183 137.7);
Tailwind
colors: {
custom: {
50: '#91ca71',
500: '#5ab231',
950: '#000000',
},
}SCSS
$custom: #5ab231; $custom-light: #91ca71; $custom-dark: #000000;
JSON
{
"hex": "#5ab231",
"rgb": {
"r": 90,
"g": 178,
"b": 49
},
"hsl": {
"h": 100.93,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.68323,
"c": 0.18345,
"h": 137.7
},
"luminance": 0.34236
}Semantic roles & 50–950 ramp
primary
#5AB231
secondary
#AD79C5
accent
#48E0B0
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B