#31C970#31C970
#31C970 is a light, vivid green. Relative luminance 0.436; OKLCH L 73.8% C 0.178 H 152.3°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #31C970 |
|---|---|
| RGB | rgb(49, 201, 112) |
| HSL | hsl(145, 61%, 49%) |
| HSV | hsv(145, 76%, 79%) |
| CMYK | cmyk(75.6%, 0%, 44.3%, 21.2%) |
| CIE-LAB | lab(71.96, -58.44, 33.55) |
| CIE-LCH | lch(71.96, 67.38, 150.14°) |
| OKLab | oklab(73.85% -0.1572 0.0826) |
| OKLCH | oklch(73.85% 0.178 152.3) |
| XYZ | xyz(25.0757, 43.5931, 22.4188) |
| Luminance | 0.4360 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 1.85
Emerald
#50C878
ΔE00 2.10
Seaweed
#18D17B
ΔE00 2.42
Dark Mint
#48C072
ΔE00 2.83
Dark Mint Green
#20C073
ΔE00 3.09
Cool Green
#33B864
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C970 #C9318A
analogous
#3EC931 #31C970 #31C9BC
triadic
#31C970 #7031C9 #C97031
tetradic
#31C970 #313EC9 #C9318A #C9BC31
square
#31C970 #313EC9 #C9318A #C9BC31
split-complementary
#31C970 #BC31C9 #C9313E
monochromatic
#196739 #259855 #31C970 #5FD891 #90E4B3
Accessibility & contrast
On white
2.16
#31C970 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#31C970 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C970
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C970 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C970 | 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)
#C9B869
Deuteranopia (green-blind)
#B8AB76
Tritanopia (blue-blind)
#00C6B3
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #31c970; /* rgb */ color: rgb(49, 201, 112); /* oklch */ color: oklch(73.8% 0.178 152.3);
Tailwind
colors: {
custom: {
50: '#80db9a',
500: '#31c970',
950: '#000000',
},
}SCSS
$custom: #31c970; $custom-light: #80db9a; $custom-dark: #000000;
JSON
{
"hex": "#31c970",
"rgb": {
"r": 49,
"g": 201,
"b": 112
},
"hsl": {
"h": 144.868,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.73846,
"c": 0.17757,
"h": 152.3
},
"luminance": 0.43596
}Semantic roles & 50–950 ramp
primary
#31C970
secondary
#CF87B1
accent
#44A2E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E