#31C778#31C778
#31C778 is a light, vivid green. Relative luminance 0.429; OKLCH L 73.5% C 0.168 H 154.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #31C778 |
|---|---|
| RGB | rgb(49, 199, 120) |
| HSL | hsl(148, 60%, 49%) |
| HSV | hsv(148, 75%, 78%) |
| CMYK | cmyk(75.4%, 0%, 39.7%, 22%) |
| CIE-LAB | lab(71.45, -56.27, 28.78) |
| CIE-LCH | lch(71.45, 63.20, 152.91°) |
| OKLab | oklab(73.47% -0.1517 0.0717) |
| OKLCH | oklch(73.47% 0.168 154.7) |
| XYZ | xyz(25.0778, 42.8529, 24.7154) |
| Luminance | 0.4286 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 1.56
Dark Mint Green
#20C073
ΔE00 1.99
Emerald
#50C878
ΔE00 2.06
Dark Mint
#48C072
ΔE00 2.34
Seaweed
#18D17B
ΔE00 2.61
Greenish Teal
#32BF84
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C778 #C73180
analogous
#35C731 #31C778 #31C7C3
triadic
#31C778 #7831C7 #C77831
tetradic
#31C778 #3135C7 #C73180 #C7C331
square
#31C778 #3135C7 #C73180 #C7C331
split-complementary
#31C778 #C331C7 #C73135
monochromatic
#19653D #25965A #31C778 #5ED797 #8FE3B7
Accessibility & contrast
On white
2.19
#31C778 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#31C778 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C778
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C778 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C778 | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B773
Deuteranopia (green-blind)
#B5AA7D
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #31c778; /* rgb */ color: rgb(49, 199, 120); /* oklch */ color: oklch(73.5% 0.168 154.7);
Tailwind
colors: {
custom: {
50: '#7fd99f',
500: '#31c778',
950: '#000000',
},
}SCSS
$custom: #31c778; $custom-light: #7fd99f; $custom-dark: #000000;
JSON
{
"hex": "#31c778",
"rgb": {
"r": 49,
"g": 199,
"b": 120
},
"hsl": {
"h": 148.4,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.73474,
"c": 0.16778,
"h": 154.7
},
"luminance": 0.42856
}Semantic roles & 50–950 ramp
primary
#31C778
secondary
#CE86AC
accent
#4498E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E