#31C572#31C572
#31C572 is a light, vivid green. Relative luminance 0.418; OKLCH L 72.8% C 0.171 H 153.3°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #31C572 |
|---|---|
| RGB | rgb(49, 197, 114) |
| HSL | hsl(146, 60%, 48%) |
| HSV | hsv(146, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 42.1%, 22.7%) |
| CIE-LAB | lab(70.73, -56.64, 30.94) |
| CIE-LCH | lch(70.73, 64.54, 151.36°) |
| OKLab | oklab(72.84% -0.1525 0.0766) |
| OKLCH | oklch(72.84% 0.171 153.3) |
| XYZ | xyz(24.2679, 41.7975, 22.7051) |
| Luminance | 0.4180 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.84
Dark Mint Green
#20C073
ΔE00 1.83
Dark Mint
#48C072
ΔE00 1.88
Emerald
#50C878
ΔE00 2.08
Seaweed
#18D17B
ΔE00 3.09
Cool Green
#33B864
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C572 #C53184
analogous
#3AC531 #31C572 #31C5BC
triadic
#31C572 #7231C5 #C57231
tetradic
#31C572 #313AC5 #C53184 #C5BC31
square
#31C572 #313AC5 #C53184 #C5BC31
split-complementary
#31C572 #BC31C5 #C5313A
monochromatic
#196339 #259456 #31C572 #5DD792 #8EE3B3
Accessibility & contrast
On white
2.24
#31C572 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#31C572 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C572
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C572 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C572 | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B46C
Deuteranopia (green-blind)
#B3A878
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c572; /* rgb */ color: rgb(49, 197, 114); /* oklch */ color: oklch(72.8% 0.171 153.3);
Tailwind
colors: {
custom: {
50: '#7fd89b',
500: '#31c572',
950: '#000000',
},
}SCSS
$custom: #31c572; $custom-light: #7fd89b; $custom-dark: #000000;
JSON
{
"hex": "#31c572",
"rgb": {
"r": 49,
"g": 197,
"b": 114
},
"hsl": {
"h": 146.351,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72844,
"c": 0.17065,
"h": 153.3
},
"luminance": 0.418
}Semantic roles & 50–950 ramp
primary
#31C572
secondary
#CD85AD
accent
#449EE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E