#31C752#31C752
#31C752 is a light, highly saturated green. Relative luminance 0.421; OKLCH L 72.9% C 0.201 H 146.5°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #31C752 |
|---|---|
| RGB | rgb(49, 199, 82) |
| HSL | hsl(133, 60%, 49%) |
| HSV | hsv(133, 75%, 78%) |
| CMYK | cmyk(75.4%, 0%, 58.8%, 22%) |
| CIE-LAB | lab(70.94, -62.23, 46.87) |
| CIE-LCH | lch(70.94, 77.91, 143.01°) |
| OKLab | oklab(72.88% -0.1676 0.1108) |
| OKLCH | oklch(72.88% 0.201 146.5) |
| XYZ | xyz(23.2113, 42.1063, 14.8850) |
| Luminance | 0.4211 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.07
Lime Green
#32CD32
ΔE00 4.20
Algae Green
#21C36F
ΔE00 5.28
Leafy Green
#51B73B
ΔE00 5.38
Shamrock
#01B44C
ΔE00 5.53
Emerald
#50C878
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C752 #C731A6
analogous
#5BC731 #31C752 #31C79D
triadic
#31C752 #5231C7 #C75231
tetradic
#31C752 #315BC7 #C731A6 #C79D31
square
#31C752 #315BC7 #C731A6 #C79D31
split-complementary
#31C752 #9D31C7 #C7315B
monochromatic
#19652A #25963E #31C752 #5ED779 #8FE3A2
Accessibility & contrast
On white
2.23
#31C752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.42
#31C752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C752
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C752 | 1.00 | 2.23 | 9.42 | 9.42 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB546
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#00C2AE
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #31c752; /* rgb */ color: rgb(49, 199, 82); /* oklch */ color: oklch(72.9% 0.201 146.5);
Tailwind
colors: {
custom: {
50: '#80d986',
500: '#31c752',
950: '#000000',
},
}SCSS
$custom: #31c752; $custom-light: #80d986; $custom-dark: #000000;
JSON
{
"hex": "#31c752",
"rgb": {
"r": 49,
"g": 199,
"b": 82
},
"hsl": {
"h": 133.2,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.72884,
"c": 0.20091,
"h": 146.5
},
"luminance": 0.42109
}Semantic roles & 50–950 ramp
primary
#31C752
secondary
#CE86BE
accent
#44C1E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150B
muted
#7D837C