#31C570#31C570
#31C570 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.8% C 0.172 H 152.8°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #31C570 |
|---|---|
| RGB | rgb(49, 197, 112) |
| HSL | hsl(146, 60%, 48%) |
| HSV | hsv(146, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 43.1%, 22.7%) |
| CIE-LAB | lab(70.70, -57.00, 31.92) |
| CIE-LCH | lch(70.70, 65.33, 150.75°) |
| OKLab | oklab(72.81% -0.1534 0.0789) |
| OKLCH | oklch(72.81% 0.172 152.8) |
| XYZ | xyz(24.1553, 41.7525, 22.1121) |
| Luminance | 0.4175 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.88
Dark Mint
#48C072
ΔE00 1.94
Dark Mint Green
#20C073
ΔE00 2.06
Emerald
#50C878
ΔE00 2.13
Seaweed
#18D17B
ΔE00 3.15
Cool Green
#33B864
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C570 #C53186
analogous
#3CC531 #31C570 #31C5BA
triadic
#31C570 #7031C5 #C57031
tetradic
#31C570 #313CC5 #C53186 #C5BA31
square
#31C570 #313CC5 #C53186 #C5BA31
split-complementary
#31C570 #BA31C5 #C5313C
monochromatic
#196338 #259454 #31C570 #5DD791 #8EE3B2
Accessibility & contrast
On white
2.25
#31C570 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#31C570 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C570
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C570 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C570 | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B46A
Deuteranopia (green-blind)
#B4A876
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c570; /* rgb */ color: rgb(49, 197, 112); /* oklch */ color: oklch(72.8% 0.172 152.8);
Tailwind
colors: {
custom: {
50: '#7fd89a',
500: '#31c570',
950: '#000000',
},
}SCSS
$custom: #31c570; $custom-light: #7fd89a; $custom-dark: #000000;
JSON
{
"hex": "#31c570",
"rgb": {
"r": 49,
"g": 197,
"b": 112
},
"hsl": {
"h": 145.541,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72808,
"c": 0.17247,
"h": 152.8
},
"luminance": 0.41755
}Semantic roles & 50–950 ramp
primary
#31C570
secondary
#CD85AE
accent
#44A0E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E