#31C571#31C571
#31C571 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.8% C 0.172 H 153.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #31C571 |
|---|---|
| RGB | rgb(49, 197, 113) |
| HSL | hsl(146, 60%, 48%) |
| HSV | hsv(146, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 42.6%, 22.7%) |
| CIE-LAB | lab(70.72, -56.82, 31.43) |
| CIE-LCH | lch(70.72, 64.93, 151.05°) |
| OKLab | oklab(72.83% -0.1529 0.0778) |
| OKLCH | oklch(72.83% 0.172 153.1) |
| XYZ | xyz(24.2113, 41.7749, 22.4069) |
| Luminance | 0.4178 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.84
Dark Mint
#48C072
ΔE00 1.90
Dark Mint Green
#20C073
ΔE00 1.94
Emerald
#50C878
ΔE00 2.10
Seaweed
#18D17B
ΔE00 3.12
Cool Green
#33B864
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C571 #C53185
analogous
#3BC531 #31C571 #31C5BB
triadic
#31C571 #7131C5 #C57131
tetradic
#31C571 #313BC5 #C53185 #C5BB31
square
#31C571 #313BC5 #C53185 #C5BB31
split-complementary
#31C571 #BB31C5 #C5313B
monochromatic
#196339 #259455 #31C571 #5DD791 #8EE3B2
Accessibility & contrast
On white
2.24
#31C571 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#31C571 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C571
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C571 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C571 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B46B
Deuteranopia (green-blind)
#B4A877
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c571; /* rgb */ color: rgb(49, 197, 113); /* oklch */ color: oklch(72.8% 0.172 153.1);
Tailwind
colors: {
custom: {
50: '#7fd89b',
500: '#31c571',
950: '#000000',
},
}SCSS
$custom: #31c571; $custom-light: #7fd89b; $custom-dark: #000000;
JSON
{
"hex": "#31c571",
"rgb": {
"r": 49,
"g": 197,
"b": 113
},
"hsl": {
"h": 145.946,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72826,
"c": 0.17156,
"h": 153.1
},
"luminance": 0.41778
}Semantic roles & 50–950 ramp
primary
#31C571
secondary
#CD85AE
accent
#449FE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E