#31C479#31C479
#31C479 is a light, vivid green. Relative luminance 0.415; OKLCH L 72.7% C 0.163 H 155.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #31C479 |
|---|---|
| RGB | rgb(49, 196, 121) |
| HSL | hsl(149, 60%, 48%) |
| HSV | hsv(149, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 38.3%, 23.1%) |
| CIE-LAB | lab(70.53, -54.97, 27.04) |
| CIE-LCH | lch(70.53, 61.26, 153.81°) |
| OKLab | oklab(72.72% -0.1483 0.0676) |
| OKLCH | oklch(72.72% 0.163 155.5) |
| XYZ | xyz(24.4554, 41.5104, 24.8089) |
| Luminance | 0.4151 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint Green
#20C073
ΔE00 1.34
Algae Green
#21C36F
ΔE00 1.69
Dark Mint
#48C072
ΔE00 2.13
Emerald
#50C878
ΔE00 2.58
Greenish Teal
#32BF84
ΔE00 3.31
Seaweed
#18D17B
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C479 #C4317C
analogous
#32C431 #31C479 #31C4C2
triadic
#31C479 #7931C4 #C47931
tetradic
#31C479 #3132C4 #C4317C #C4C231
square
#31C479 #3132C4 #C4317C #C4C231
split-complementary
#31C479 #C231C4 #C43132
monochromatic
#19623D #25935B #31C479 #5CD698 #8DE2B7
Accessibility & contrast
On white
2.26
#31C479 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#31C479 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C479
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C479 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C479 | 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)
#C3B474
Deuteranopia (green-blind)
#B2A77E
Tritanopia (blue-blind)
#00C2B1
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c479; /* rgb */ color: rgb(49, 196, 121); /* oklch */ color: oklch(72.7% 0.163 155.5);
Tailwind
colors: {
custom: {
50: '#7fd7a0',
500: '#31c479',
950: '#000000',
},
}SCSS
$custom: #31c479; $custom-light: #7fd7a0; $custom-dark: #000000;
JSON
{
"hex": "#31c479",
"rgb": {
"r": 49,
"g": 196,
"b": 121
},
"hsl": {
"h": 149.388,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72717,
"c": 0.16301,
"h": 155.5
},
"luminance": 0.41513
}Semantic roles & 50–950 ramp
primary
#31C479
secondary
#CD84A9
accent
#4596E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140F
muted
#7D837E