#31C757#31C757
#31C757 is a light, vivid green. Relative luminance 0.422; OKLCH L 72.9% C 0.197 H 147.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #31C757 |
|---|---|
| RGB | rgb(49, 199, 87) |
| HSL | hsl(135, 60%, 49%) |
| HSV | hsv(135, 75%, 78%) |
| CMYK | cmyk(75.4%, 0%, 56.3%, 22%) |
| CIE-LAB | lab(71.00, -61.58, 44.63) |
| CIE-LCH | lch(71.00, 76.05, 144.07°) |
| OKLab | oklab(72.95% -0.1657 0.1063) |
| OKLCH | oklch(72.95% 0.197 147.3) |
| XYZ | xyz(23.4086, 42.1852, 15.9238) |
| Luminance | 0.4219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.09
Algae Green
#21C36F
ΔE00 4.62
Lime Green
#32CD32
ΔE00 4.84
Emerald
#50C878
ΔE00 4.98
Dark Mint
#48C072
ΔE00 5.18
Cool Green
#33B864
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C757 #C731A1
analogous
#56C731 #31C757 #31C7A2
triadic
#31C757 #5731C7 #C75731
tetradic
#31C757 #3156C7 #C731A1 #C7A231
square
#31C757 #3156C7 #C731A1 #C7A231
split-complementary
#31C757 #A231C7 #C73156
monochromatic
#19652C #259642 #31C757 #5ED77D #8FE3A4
Accessibility & contrast
On white
2.23
#31C757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#31C757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C757
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C757 | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#B8A960
Tritanopia (blue-blind)
#00C3AE
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #31c757; /* rgb */ color: rgb(49, 199, 87); /* oklch */ color: oklch(72.9% 0.197 147.3);
Tailwind
colors: {
custom: {
50: '#80d989',
500: '#31c757',
950: '#000000',
},
}SCSS
$custom: #31c757; $custom-light: #80d989; $custom-dark: #000000;
JSON
{
"hex": "#31c757",
"rgb": {
"r": 49,
"g": 199,
"b": 87
},
"hsl": {
"h": 135.2,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.72947,
"c": 0.19686,
"h": 147.3
},
"luminance": 0.42188
}Semantic roles & 50–950 ramp
primary
#31C757
secondary
#CE86BC
accent
#44BBE4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D