#31C155#31C155
#31C155 is a light, vivid green. Relative luminance 0.394; OKLCH L 71.3% C 0.191 H 147.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).
Color values
| HEX | #31C155 |
|---|---|
| RGB | rgb(49, 193, 85) |
| HSL | hsl(135, 60%, 47%) |
| HSV | hsv(135, 75%, 76%) |
| CMYK | cmyk(74.6%, 0%, 56%, 24.3%) |
| CIE-LAB | lab(69.07, -59.82, 43.27) |
| CIE-LCH | lch(69.07, 73.83, 144.12°) |
| OKLab | oklab(71.35% -0.161 0.1032) |
| OKLCH | oklch(71.35% 0.191 147.3) |
| XYZ | xyz(21.9746, 39.4462, 15.0483) |
| Luminance | 0.3945 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.38
Shamrock
#01B44C
ΔE00 3.92
Cool Green
#33B864
ΔE00 4.09
Algae Green
#21C36F
ΔE00 4.29
Dark Mint
#48C072
ΔE00 4.66
Leafy Green
#51B73B
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C155 #C1319D
analogous
#55C131 #31C155 #31C19D
triadic
#31C155 #5531C1 #C15531
tetradic
#31C155 #3155C1 #C1319D #C19D31
square
#31C155 #3155C1 #C1319D #C19D31
split-complementary
#31C155 #9D31C1 #C13155
monochromatic
#185F2A #259040 #31C155 #5AD579 #8BE2A1
Accessibility & contrast
On white
2.36
#31C155 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.89
#31C155 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C155
8.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C155 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C155 | 1.00 | 2.36 | 8.89 | 8.89 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B04B
Deuteranopia (green-blind)
#B3A45D
Tritanopia (blue-blind)
#00BDA9
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #31c155; /* rgb */ color: rgb(49, 193, 85); /* oklch */ color: oklch(71.3% 0.191 147.3);
Tailwind
colors: {
custom: {
50: '#7fd588',
500: '#31c155',
950: '#000000',
},
}SCSS
$custom: #31c155; $custom-light: #7fd588; $custom-dark: #000000;
JSON
{
"hex": "#31c155",
"rgb": {
"r": 49,
"g": 193,
"b": 85
},
"hsl": {
"h": 135,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.71345,
"c": 0.19123,
"h": 147.3
},
"luminance": 0.39449
}Semantic roles & 50–950 ramp
primary
#31C155
secondary
#CC82B9
accent
#45BBE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C