#5AB271#5AB271
#5AB271 is a light, vivid green. Relative luminance 0.352; OKLCH L 69.2% C 0.128 H 150.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #5AB271 |
|---|---|
| RGB | rgb(90, 178, 113) |
| HSL | hsl(136, 36%, 53%) |
| HSV | hsv(136, 49%, 70%) |
| CMYK | cmyk(49.4%, 0%, 36.5%, 30.2%) |
| CIE-LAB | lab(65.91, -40.95, 25.31) |
| CIE-LCH | lch(65.91, 48.14, 148.28°) |
| OKLab | oklab(69.19% -0.1113 0.0633) |
| OKLCH | oklch(69.19% 0.128 150.4) |
| XYZ | xyz(23.1160, 35.2049, 21.1967) |
| Luminance | 0.3521 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae
#54AC68
ΔE00 2.00
Fern
#63B76C
ΔE00 2.63
Mediumseagreen
#3CB371
ΔE00 2.85
Boring Green
#63B365
ΔE00 3.12
Seaweed Green
#35AD6B
ΔE00 3.60
Dark Seafoam Green
#3EAF76
ΔE00 3.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5AB271 #B25A9B
analogous
#6FB25A #5AB271 #5AB29D
triadic
#5AB271 #715AB2 #B2715A
tetradic
#5AB271 #5A6FB2 #B25A9B #B29D5A
square
#5AB271 #5A6FB2 #B25A9B #B29D5A
split-complementary
#5AB271 #9D5AB2 #B25A6F
monochromatic
#2E633C #428D55 #5AB271 #84C595 #ADD9B9
Accessibility & contrast
On white
2.61
#5AB271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#5AB271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #5AB271
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5AB271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5AB271 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A56D
Deuteranopia (green-blind)
#A69D75
Tritanopia (blue-blind)
#48AFA1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #5ab271; /* rgb */ color: rgb(90, 178, 113); /* oklch */ color: oklch(69.2% 0.128 150.4);
Tailwind
colors: {
custom: {
50: '#8ec99a',
500: '#5ab271',
950: '#000000',
},
}SCSS
$custom: #5ab271; $custom-light: #8ec99a; $custom-dark: #000000;
JSON
{
"hex": "#5ab271",
"rgb": {
"r": 90,
"g": 178,
"b": 113
},
"hsl": {
"h": 135.682,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.69192,
"c": 0.12803,
"h": 150.4
},
"luminance": 0.35207
}Semantic roles & 50–950 ramp
primary
#5AB271
secondary
#C7A1BD
accent
#5BAFCC
background
#F9FCF9
surface
#F1F8F2
border
#CBD1CC
text
#0D130E
muted
#7E827E