#31C971#31C971
#31C971 is a light, vivid green. Relative luminance 0.436; OKLCH L 73.9% C 0.177 H 152.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #31C971 |
|---|---|
| RGB | rgb(49, 201, 113) |
| HSL | hsl(145, 61%, 49%) |
| HSV | hsv(145, 76%, 79%) |
| CMYK | cmyk(75.6%, 0%, 43.8%, 21.2%) |
| CIE-LAB | lab(71.97, -58.26, 33.06) |
| CIE-LCH | lch(71.97, 66.99, 150.43°) |
| OKLab | oklab(73.86% -0.1567 0.0815) |
| OKLCH | oklch(73.86% 0.177 152.5) |
| XYZ | xyz(25.1316, 43.6155, 22.7137) |
| Luminance | 0.4362 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 1.79
Emerald
#50C878
ΔE00 2.04
Seaweed
#18D17B
ΔE00 2.34
Dark Mint
#48C072
ΔE00 2.78
Dark Mint Green
#20C073
ΔE00 2.99
Cool Green
#33B864
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C971 #C93189
analogous
#3DC931 #31C971 #31C9BD
triadic
#31C971 #7131C9 #C97131
tetradic
#31C971 #313DC9 #C93189 #C9BD31
square
#31C971 #313DC9 #C93189 #C9BD31
split-complementary
#31C971 #BD31C9 #C9313D
monochromatic
#19673A #259855 #31C971 #5FD892 #90E4B4
Accessibility & contrast
On white
2.16
#31C971 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#31C971 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C971
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C971 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C971 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B86A
Deuteranopia (green-blind)
#B7AB77
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #31c971; /* rgb */ color: rgb(49, 201, 113); /* oklch */ color: oklch(73.9% 0.177 152.5);
Tailwind
colors: {
custom: {
50: '#80db9b',
500: '#31c971',
950: '#000000',
},
}SCSS
$custom: #31c971; $custom-light: #80db9b; $custom-dark: #000000;
JSON
{
"hex": "#31c971",
"rgb": {
"r": 49,
"g": 201,
"b": 113
},
"hsl": {
"h": 145.263,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.73863,
"c": 0.17667,
"h": 152.5
},
"luminance": 0.43619
}Semantic roles & 50–950 ramp
primary
#31C971
secondary
#CF87B1
accent
#44A1E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E