#31C771#31C771
#31C771 is a light, vivid green. Relative luminance 0.427; OKLCH L 73.3% C 0.174 H 152.8°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #31C771 |
|---|---|
| RGB | rgb(49, 199, 113) |
| HSL | hsl(146, 60%, 49%) |
| HSV | hsv(146, 75%, 78%) |
| CMYK | cmyk(75.4%, 0%, 43.2%, 22%) |
| CIE-LAB | lab(71.34, -57.54, 32.25) |
| CIE-LCH | lch(71.34, 65.96, 150.73°) |
| OKLab | oklab(73.35% -0.1548 0.0797) |
| OKLCH | oklch(73.35% 0.174 152.8) |
| XYZ | xyz(24.6685, 42.6892, 22.5593) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 1.28
Emerald
#50C878
ΔE00 1.99
Dark Mint
#48C072
ΔE00 2.32
Dark Mint Green
#20C073
ΔE00 2.46
Seaweed
#18D17B
ΔE00 2.69
Cool Green
#33B864
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C771 #C73187
analogous
#3CC731 #31C771 #31C7BC
triadic
#31C771 #7131C7 #C77131
tetradic
#31C771 #313CC7 #C73187 #C7BC31
square
#31C771 #313CC7 #C73187 #C7BC31
split-complementary
#31C771 #BC31C7 #C7313C
monochromatic
#196539 #259655 #31C771 #5ED792 #8FE3B3
Accessibility & contrast
On white
2.20
#31C771 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#31C771 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C771
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C771 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C771 | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B66B
Deuteranopia (green-blind)
#B6AA77
Tritanopia (blue-blind)
#00C4B2
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #31c771; /* rgb */ color: rgb(49, 199, 113); /* oklch */ color: oklch(73.3% 0.174 152.8);
Tailwind
colors: {
custom: {
50: '#7fd99b',
500: '#31c771',
950: '#000000',
},
}SCSS
$custom: #31c771; $custom-light: #7fd99b; $custom-dark: #000000;
JSON
{
"hex": "#31c771",
"rgb": {
"r": 49,
"g": 199,
"b": 113
},
"hsl": {
"h": 145.6,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.73345,
"c": 0.17412,
"h": 152.8
},
"luminance": 0.42692
}Semantic roles & 50–950 ramp
primary
#31C771
secondary
#CE86AF
accent
#44A0E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E