#31C474#31C474
#31C474 is a light, vivid green. Relative luminance 0.414; OKLCH L 72.6% C 0.168 H 154.0°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #31C474 |
|---|---|
| RGB | rgb(49, 196, 116) |
| HSL | hsl(147, 60%, 48%) |
| HSV | hsv(147, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 40.8%, 23.1%) |
| CIE-LAB | lab(70.45, -55.91, 29.53) |
| CIE-LCH | lch(70.45, 63.23, 152.16°) |
| OKLab | oklab(72.62% -0.1506 0.0734) |
| OKLCH | oklch(72.62% 0.168 154) |
| XYZ | xyz(24.1567, 41.3909, 23.2357) |
| Luminance | 0.4139 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.91
Dark Mint Green
#20C073
ΔE00 1.39
Dark Mint
#48C072
ΔE00 1.74
Emerald
#50C878
ΔE00 2.24
Seaweed
#18D17B
ΔE00 3.32
Cool Green
#33B864
ΔE00 3.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C474 #C43181
analogous
#37C431 #31C474 #31C4BD
triadic
#31C474 #7431C4 #C47431
tetradic
#31C474 #3137C4 #C43181 #C4BD31
square
#31C474 #3137C4 #C43181 #C4BD31
split-complementary
#31C474 #BD31C4 #C43137
monochromatic
#19623A #259357 #31C474 #5CD694 #8DE2B4
Accessibility & contrast
On white
2.26
#31C474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#31C474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C474
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C474 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B46E
Deuteranopia (green-blind)
#B2A779
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c474; /* rgb */ color: rgb(49, 196, 116); /* oklch */ color: oklch(72.6% 0.168 154.0);
Tailwind
colors: {
custom: {
50: '#7fd79d',
500: '#31c474',
950: '#000000',
},
}SCSS
$custom: #31c474; $custom-light: #7fd79d; $custom-dark: #000000;
JSON
{
"hex": "#31c474",
"rgb": {
"r": 49,
"g": 196,
"b": 116
},
"hsl": {
"h": 147.347,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72622,
"c": 0.16755,
"h": 154
},
"luminance": 0.41394
}Semantic roles & 50–950 ramp
primary
#31C474
secondary
#CD84AC
accent
#459BE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E