#31C15B#31C15B
#31C15B is a light, vivid green. Relative luminance 0.395; OKLCH L 71.4% C 0.186 H 148.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #31C15B |
|---|---|
| RGB | rgb(49, 193, 91) |
| HSL | hsl(138, 60%, 47%) |
| HSV | hsv(138, 75%, 76%) |
| CMYK | cmyk(74.6%, 0%, 52.8%, 24.3%) |
| CIE-LAB | lab(69.14, -58.97, 40.48) |
| CIE-LCH | lch(69.14, 71.53, 145.53°) |
| OKLab | oklab(71.43% -0.1586 0.0974) |
| OKLCH | oklch(71.43% 0.186 148.4) |
| XYZ | xyz(22.2232, 39.5456, 16.3574) |
| Luminance | 0.3955 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.97
Algae Green
#21C36F
ΔE00 3.41
Cool Green
#33B864
ΔE00 3.41
Dark Mint
#48C072
ΔE00 3.83
Shamrock
#01B44C
ΔE00 3.94
Emerald
#50C878
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C15B #C13197
analogous
#4FC131 #31C15B #31C1A3
triadic
#31C15B #5B31C1 #C15B31
tetradic
#31C15B #314FC1 #C13197 #C1A331
square
#31C15B #314FC1 #C13197 #C1A331
split-complementary
#31C15B #A331C1 #C1314F
monochromatic
#185F2D #259044 #31C15B #5AD57E #8BE2A4
Accessibility & contrast
On white
2.36
#31C15B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.91
#31C15B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C15B
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C15B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C15B | 1.00 | 2.36 | 8.91 | 8.91 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B052
Deuteranopia (green-blind)
#B2A463
Tritanopia (blue-blind)
#00BDAA
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #31c15b; /* rgb */ color: rgb(49, 193, 91); /* oklch */ color: oklch(71.4% 0.186 148.4);
Tailwind
colors: {
custom: {
50: '#7fd58c',
500: '#31c15b',
950: '#000000',
},
}SCSS
$custom: #31c15b; $custom-light: #7fd58c; $custom-dark: #000000;
JSON
{
"hex": "#31c15b",
"rgb": {
"r": 49,
"g": 193,
"b": 91
},
"hsl": {
"h": 137.5,
"s": 59.504,
"l": 47.451
},
"oklch": {
"l": 0.71427,
"c": 0.18614,
"h": 148.4
},
"luminance": 0.39548
}Semantic roles & 50–950 ramp
primary
#31C15B
secondary
#CC82B6
accent
#45B5E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D