#31C04C#31C04C
#31C04C is a light, vivid green. Relative luminance 0.389; OKLCH L 71.0% C 0.197 H 145.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #31C04C |
|---|---|
| RGB | rgb(49, 192, 76) |
| HSL | hsl(131, 59%, 47%) |
| HSV | hsv(131, 74%, 75%) |
| CMYK | cmyk(74.5%, 0%, 60.4%, 24.7%) |
| CIE-LAB | lab(68.66, -60.64, 46.95) |
| CIE-LCH | lch(68.66, 76.69, 142.25°) |
| OKLab | oklab(70.97% -0.1635 0.1105) |
| OKLCH | oklch(70.97% 0.197 145.9) |
| XYZ | xyz(21.4192, 38.8716, 13.2102) |
| Luminance | 0.3887 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.34
Shamrock
#01B44C
ΔE00 3.97
Leafy Green
#51B73B
ΔE00 4.03
Lime Green
#32CD32
ΔE00 4.95
Cool Green
#33B864
ΔE00 4.96
Medium Green
#39AD48
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C04C #C031A5
analogous
#5DC031 #31C04C #31C094
triadic
#31C04C #4C31C0 #C04C31
tetradic
#31C04C #315DC0 #C031A5 #C09431
square
#31C04C #315DC0 #C031A5 #C09431
split-complementary
#31C04C #9431C0 #C0315D
monochromatic
#185E25 #258F39 #31C04C #59D571 #8AE19B
Accessibility & contrast
On white
2.39
#31C04C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#31C04C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C04C
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C04C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C04C | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE40
Deuteranopia (green-blind)
#B3A356
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #31c04c; /* rgb */ color: rgb(49, 192, 76); /* oklch */ color: oklch(71.0% 0.197 145.9);
Tailwind
colors: {
custom: {
50: '#7fd482',
500: '#31c04c',
950: '#000000',
},
}SCSS
$custom: #31c04c; $custom-light: #7fd482; $custom-dark: #000000;
JSON
{
"hex": "#31c04c",
"rgb": {
"r": 49,
"g": 192,
"b": 76
},
"hsl": {
"h": 131.329,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.70969,
"c": 0.19731,
"h": 145.9
},
"luminance": 0.38874
}Semantic roles & 50–950 ramp
primary
#31C04C
secondary
#CB82BD
accent
#45C5E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C