#31C171#31C171
#31C171 is a light, vivid green. Relative luminance 0.400; OKLCH L 71.8% C 0.166 H 153.6°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #31C171 |
|---|---|
| RGB | rgb(49, 193, 113) |
| HSL | hsl(147, 60%, 47%) |
| HSV | hsv(147, 75%, 76%) |
| CMYK | cmyk(74.6%, 0%, 41.5%, 24.3%) |
| CIE-LAB | lab(69.46, -55.35, 29.79) |
| CIE-LCH | lch(69.46, 62.86, 151.71°) |
| OKLab | oklab(71.79% -0.1491 0.0739) |
| OKLCH | oklch(71.79% 0.166 153.6) |
| XYZ | xyz(23.3151, 39.9824, 22.1082) |
| Luminance | 0.3998 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.89
Dark Mint Green
#20C073
ΔE00 1.03
Dark Mint
#48C072
ΔE00 1.43
Emerald
#50C878
ΔE00 2.70
Cool Green
#33B864
ΔE00 2.75
Seaweed
#18D17B
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C171 #C13181
analogous
#39C131 #31C171 #31C1B9
triadic
#31C171 #7131C1 #C17131
tetradic
#31C171 #3139C1 #C13181 #C1B931
square
#31C171 #3139C1 #C13181 #C1B931
split-complementary
#31C171 #B931C1 #C13139
monochromatic
#185F38 #259054 #31C171 #5AD591 #8BE2B1
Accessibility & contrast
On white
2.33
#31C171 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.00
#31C171 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C171
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C171 | 1.00 | 2.33 | 9.00 | 9.00 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B16B
Deuteranopia (green-blind)
#B0A576
Tritanopia (blue-blind)
#00BFAD
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #31c171; /* rgb */ color: rgb(49, 193, 113); /* oklch */ color: oklch(71.8% 0.166 153.6);
Tailwind
colors: {
custom: {
50: '#7ed59a',
500: '#31c171',
950: '#000000',
},
}SCSS
$custom: #31c171; $custom-light: #7ed59a; $custom-dark: #000000;
JSON
{
"hex": "#31c171",
"rgb": {
"r": 49,
"g": 193,
"b": 113
},
"hsl": {
"h": 146.667,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.71787,
"c": 0.16641,
"h": 153.6
},
"luminance": 0.39985
}Semantic roles & 50–950 ramp
primary
#31C171
secondary
#CC82AB
accent
#459DE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140E
muted
#7C837E