#31C576#31C576
#31C576 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.167 H 154.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #31C576 |
|---|---|
| RGB | rgb(49, 197, 118) |
| HSL | hsl(148, 60%, 48%) |
| HSV | hsv(148, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 40.1%, 22.7%) |
| CIE-LAB | lab(70.80, -55.91, 28.95) |
| CIE-LCH | lch(70.80, 62.96, 152.62°) |
| OKLab | oklab(72.92% -0.1507 0.0721) |
| OKLCH | oklch(72.92% 0.167 154.4) |
| XYZ | xyz(24.5006, 41.8906, 23.9305) |
| Luminance | 0.4189 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 1.18
Dark Mint Green
#20C073
ΔE00 1.54
Dark Mint
#48C072
ΔE00 1.95
Emerald
#50C878
ΔE00 2.18
Seaweed
#18D17B
ΔE00 3.08
Cool Green
#33B864
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C576 #C53180
analogous
#36C531 #31C576 #31C5C0
triadic
#31C576 #7631C5 #C57631
tetradic
#31C576 #3136C5 #C53180 #C5C031
square
#31C576 #3136C5 #C53180 #C5C031
split-complementary
#31C576 #C031C5 #C53136
monochromatic
#19633B #259459 #31C576 #5DD795 #8EE3B5
Accessibility & contrast
On white
2.24
#31C576 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#31C576 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C576
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C576 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C576 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B571
Deuteranopia (green-blind)
#B3A87B
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c576; /* rgb */ color: rgb(49, 197, 118); /* oklch */ color: oklch(72.9% 0.167 154.4);
Tailwind
colors: {
custom: {
50: '#7fd89e',
500: '#31c576',
950: '#000000',
},
}SCSS
$custom: #31c576; $custom-light: #7fd89e; $custom-dark: #000000;
JSON
{
"hex": "#31c576",
"rgb": {
"r": 49,
"g": 197,
"b": 118
},
"hsl": {
"h": 147.973,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72918,
"c": 0.16702,
"h": 154.4
},
"luminance": 0.41893
}Semantic roles & 50–950 ramp
primary
#31C576
secondary
#CD85AB
accent
#4499E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E