#31C471#31C471
#31C471 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.6% C 0.170 H 153.2°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #31C471 |
|---|---|
| RGB | rgb(49, 196, 113) |
| HSL | hsl(146, 60%, 48%) |
| HSV | hsv(146, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 42.3%, 23.1%) |
| CIE-LAB | lab(70.40, -56.46, 31.02) |
| CIE-LCH | lch(70.40, 64.42, 151.21°) |
| OKLab | oklab(72.57% -0.152 0.0768) |
| OKLCH | oklch(72.57% 0.17 153.2) |
| XYZ | xyz(23.9850, 41.3223, 22.3315) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.69
Dark Mint Green
#20C073
ΔE00 1.69
Dark Mint
#48C072
ΔE00 1.73
Emerald
#50C878
ΔE00 2.21
Cool Green
#33B864
ΔE00 3.33
Seaweed
#18D17B
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C471 #C43184
analogous
#3BC431 #31C471 #31C4BA
triadic
#31C471 #7131C4 #C47131
tetradic
#31C471 #313BC4 #C43184 #C4BA31
square
#31C471 #313BC4 #C43184 #C4BA31
split-complementary
#31C471 #BA31C4 #C4313B
monochromatic
#196239 #259355 #31C471 #5CD691 #8DE2B2
Accessibility & contrast
On white
2.27
#31C471 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#31C471 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C471
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C471 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C471 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B46B
Deuteranopia (green-blind)
#B3A777
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c471; /* rgb */ color: rgb(49, 196, 113); /* oklch */ color: oklch(72.6% 0.170 153.2);
Tailwind
colors: {
custom: {
50: '#7fd79b',
500: '#31c471',
950: '#000000',
},
}SCSS
$custom: #31c471; $custom-light: #7fd79b; $custom-dark: #000000;
JSON
{
"hex": "#31c471",
"rgb": {
"r": 49,
"g": 196,
"b": 113
},
"hsl": {
"h": 146.122,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72566,
"c": 0.17028,
"h": 153.2
},
"luminance": 0.41325
}Semantic roles & 50–950 ramp
primary
#31C471
secondary
#CD84AD
accent
#459EE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E