#31C052#31C052
#31C052 is a light, vivid green. Relative luminance 0.390; OKLCH L 71.0% C 0.192 H 146.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #31C052 |
|---|---|
| RGB | rgb(49, 192, 82) |
| HSL | hsl(134, 59%, 47%) |
| HSV | hsv(134, 74%, 75%) |
| CMYK | cmyk(74.5%, 0%, 57.3%, 24.7%) |
| CIE-LAB | lab(68.72, -59.88, 44.27) |
| CIE-LCH | lch(68.72, 74.47, 143.53°) |
| OKLab | oklab(71.04% -0.1612 0.1052) |
| OKLCH | oklch(71.04% 0.192 146.9) |
| XYZ | xyz(21.6376, 38.9589, 14.3605) |
| Luminance | 0.3896 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.26
Shamrock
#01B44C
ΔE00 3.72
Cool Green
#33B864
ΔE00 4.23
Leafy Green
#51B73B
ΔE00 4.57
Algae Green
#21C36F
ΔE00 4.66
Dark Mint
#48C072
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C052 #C0319F
analogous
#58C031 #31C052 #31C099
triadic
#31C052 #5231C0 #C05231
tetradic
#31C052 #3158C0 #C0319F #C09931
square
#31C052 #3158C0 #C0319F #C09931
split-complementary
#31C052 #9931C0 #C03158
monochromatic
#185E28 #258F3D #31C052 #59D576 #8AE19E
Accessibility & contrast
On white
2.39
#31C052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#31C052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C052
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C052 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF47
Deuteranopia (green-blind)
#B2A35B
Tritanopia (blue-blind)
#00BCA8
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #31c052; /* rgb */ color: rgb(49, 192, 82); /* oklch */ color: oklch(71.0% 0.192 146.9);
Tailwind
colors: {
custom: {
50: '#7fd486',
500: '#31c052',
950: '#000000',
},
}SCSS
$custom: #31c052; $custom-light: #7fd486; $custom-dark: #000000;
JSON
{
"hex": "#31c052",
"rgb": {
"r": 49,
"g": 192,
"b": 82
},
"hsl": {
"h": 133.846,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.71042,
"c": 0.19249,
"h": 146.9
},
"luminance": 0.38961
}Semantic roles & 50–950 ramp
primary
#31C052
secondary
#CB82BA
accent
#45BEE3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C