#5AB431#5AB431
#5AB431 is a light, vivid green. Relative luminance 0.350; OKLCH L 68.8% C 0.186 H 137.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB431 |
|---|---|
| RGB | rgb(90, 180, 49) |
| HSL | hsl(101, 57%, 45%) |
| HSV | hsv(101, 73%, 71%) |
| CMYK | cmyk(50%, 0%, 72.8%, 29.4%) |
| CIE-LAB | lab(65.78, -49.78, 55.33) |
| CIE-LCH | lch(65.78, 74.43, 131.98°) |
| OKLab | oklab(68.84% -0.1377 0.1249) |
| OKLCH | oklch(68.84% 0.186 137.8) |
| XYZ | xyz(21.0914, 35.0364, 8.5564) |
| Luminance | 0.3504 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Leafy Green
#51B73B
ΔE00 1.84
Grass
#5CAC2D
ΔE00 2.31
Nasty Green
#70B23F
ΔE00 2.85
Kelly Green
#4CBB17
ΔE00 2.86
Kermit Green
#5CB200
ΔE00 3.16
Frog Green
#58BC08
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB431 #8B31B4
analogous
#9CB431 #5AB431 #31B449
triadic
#5AB431 #315AB4 #B4315A
tetradic
#5AB431 #319CB4 #8B31B4 #B44931
square
#5AB431 #319CB4 #8B31B4 #B44931
split-complementary
#5AB431 #4931B4 #B4319C
monochromatic
#2A5417 #428424 #5AB431 #7AD052 #9FDD82
Accessibility & contrast
On white
2.62
#5AB431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#5AB431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB431
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB431 | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA419
Deuteranopia (green-blind)
#AE9D3E
Tritanopia (blue-blind)
#54AE9A
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #5ab431; /* rgb */ color: rgb(90, 180, 49); /* oklch */ color: oklch(68.8% 0.186 137.8);
Tailwind
colors: {
custom: {
50: '#91cb71',
500: '#5ab431',
950: '#000000',
},
}SCSS
$custom: #5ab431; $custom-light: #91cb71; $custom-dark: #000000;
JSON
{
"hex": "#5ab431",
"rgb": {
"r": 90,
"g": 180,
"b": 49
},
"hsl": {
"h": 101.221,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.6884,
"c": 0.1859,
"h": 137.8
},
"luminance": 0.35038
}Semantic roles & 50–950 ramp
primary
#5AB431
secondary
#AF7BC6
accent
#47E0B1
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0E1308
muted
#7E827B