#31C470#31C470
#31C470 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.5% C 0.171 H 152.9°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #31C470 |
|---|---|
| RGB | rgb(49, 196, 112) |
| HSL | hsl(146, 60%, 48%) |
| HSV | hsv(146, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 42.9%, 23.1%) |
| CIE-LAB | lab(70.39, -56.63, 31.52) |
| CIE-LCH | lch(70.39, 64.81, 150.90°) |
| OKLab | oklab(72.55% -0.1524 0.0779) |
| OKLCH | oklch(72.55% 0.171 152.9) |
| XYZ | xyz(23.9290, 41.2999, 22.0366) |
| Luminance | 0.4130 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.71
Dark Mint
#48C072
ΔE00 1.76
Dark Mint Green
#20C073
ΔE00 1.81
Emerald
#50C878
ΔE00 2.23
Cool Green
#33B864
ΔE00 3.28
Seaweed
#18D17B
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C470 #C43185
analogous
#3CC431 #31C470 #31C4B9
triadic
#31C470 #7031C4 #C47031
tetradic
#31C470 #313CC4 #C43185 #C4B931
square
#31C470 #313CC4 #C43185 #C4B931
split-complementary
#31C470 #B931C4 #C4313C
monochromatic
#196238 #259354 #31C470 #5CD690 #8DE2B2
Accessibility & contrast
On white
2.27
#31C470 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#31C470 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C470
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C470 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C470 | 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)
#C4B46A
Deuteranopia (green-blind)
#B3A776
Tritanopia (blue-blind)
#00C1AF
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c470; /* rgb */ color: rgb(49, 196, 112); /* oklch */ color: oklch(72.5% 0.171 152.9);
Tailwind
colors: {
custom: {
50: '#7fd79a',
500: '#31c470',
950: '#000000',
},
}SCSS
$custom: #31c470; $custom-light: #7fd79a; $custom-dark: #000000;
JSON
{
"hex": "#31c470",
"rgb": {
"r": 49,
"g": 196,
"b": 112
},
"hsl": {
"h": 145.714,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72548,
"c": 0.17119,
"h": 152.9
},
"luminance": 0.41303
}Semantic roles & 50–950 ramp
primary
#31C470
secondary
#CD84AE
accent
#459FE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E