#31C47A#31C47A
#31C47A is a light, vivid green. Relative luminance 0.415; OKLCH L 72.7% C 0.162 H 155.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #31C47A |
|---|---|
| RGB | rgb(49, 196, 122) |
| HSL | hsl(150, 60%, 48%) |
| HSV | hsv(150, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 37.8%, 23.1%) |
| CIE-LAB | lab(70.55, -54.77, 26.54) |
| CIE-LCH | lch(70.55, 60.86, 154.15°) |
| OKLab | oklab(72.74% -0.1479 0.0664) |
| OKLCH | oklch(72.74% 0.162 155.8) |
| XYZ | xyz(24.5170, 41.5351, 25.1335) |
| Luminance | 0.4154 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint Green
#20C073
ΔE00 1.41
Algae Green
#21C36F
ΔE00 1.87
Dark Mint
#48C072
ΔE00 2.25
Emerald
#50C878
ΔE00 2.68
Greenish Teal
#32BF84
ΔE00 3.14
Seaweed
#18D17B
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C47A #C4317B
analogous
#31C431 #31C47A #31C4C3
triadic
#31C47A #7A31C4 #C47A31
tetradic
#31C47A #3131C4 #C4317B #C4C331
square
#31C47A #3131C4 #C4317B #C4C331
split-complementary
#31C47A #C331C4 #C43131
monochromatic
#19623D #25935C #31C47A #5CD699 #8DE2B7
Accessibility & contrast
On white
2.26
#31C47A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#31C47A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C47A
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C47A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C47A | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B475
Deuteranopia (green-blind)
#B1A87F
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c47a; /* rgb */ color: rgb(49, 196, 122); /* oklch */ color: oklch(72.7% 0.162 155.8);
Tailwind
colors: {
custom: {
50: '#7fd7a1',
500: '#31c47a',
950: '#000000',
},
}SCSS
$custom: #31c47a; $custom-light: #7fd7a1; $custom-dark: #000000;
JSON
{
"hex": "#31c47a",
"rgb": {
"r": 49,
"g": 196,
"b": 122
},
"hsl": {
"h": 149.796,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72737,
"c": 0.16211,
"h": 155.8
},
"luminance": 0.41538
}Semantic roles & 50–950 ramp
primary
#31C47A
secondary
#CD84A9
accent
#4594E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E