#31C478#31C478
#31C478 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.7% C 0.164 H 155.2°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #31C478 |
|---|---|
| RGB | rgb(49, 196, 120) |
| HSL | hsl(149, 60%, 48%) |
| HSV | hsv(149, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 38.8%, 23.1%) |
| CIE-LAB | lab(70.52, -55.16, 27.54) |
| CIE-LCH | lch(70.52, 61.65, 153.47°) |
| OKLab | oklab(72.7% -0.1488 0.0687) |
| OKLCH | oklch(72.7% 0.164 155.2) |
| XYZ | xyz(24.3944, 41.4860, 24.4876) |
| Luminance | 0.4149 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint Green
#20C073
ΔE00 1.30
Algae Green
#21C36F
ΔE00 1.51
Dark Mint
#48C072
ΔE00 2.02
Emerald
#50C878
ΔE00 2.48
Seaweed
#18D17B
ΔE00 3.43
Greenish Teal
#32BF84
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C478 #C4317D
analogous
#33C431 #31C478 #31C4C2
triadic
#31C478 #7831C4 #C47831
tetradic
#31C478 #3133C4 #C4317D #C4C231
square
#31C478 #3133C4 #C4317D #C4C231
split-complementary
#31C478 #C231C4 #C43133
monochromatic
#19623C #25935A #31C478 #5CD697 #8DE2B6
Accessibility & contrast
On white
2.26
#31C478 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#31C478 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C478
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C478 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C478 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B473
Deuteranopia (green-blind)
#B2A77D
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c478; /* rgb */ color: rgb(49, 196, 120); /* oklch */ color: oklch(72.7% 0.164 155.2);
Tailwind
colors: {
custom: {
50: '#7fd79f',
500: '#31c478',
950: '#000000',
},
}SCSS
$custom: #31c478; $custom-light: #7fd79f; $custom-dark: #000000;
JSON
{
"hex": "#31c478",
"rgb": {
"r": 49,
"g": 196,
"b": 120
},
"hsl": {
"h": 148.98,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72698,
"c": 0.16391,
"h": 155.2
},
"luminance": 0.41489
}Semantic roles & 50–950 ramp
primary
#31C478
secondary
#CD84AA
accent
#4597E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E