#31C24C#31C24C
#31C24C is a light, vivid green. Relative luminance 0.398; OKLCH L 71.5% C 0.200 H 145.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #31C24C |
|---|---|
| RGB | rgb(49, 194, 76) |
| HSL | hsl(131, 60%, 48%) |
| HSV | hsv(131, 75%, 76%) |
| CMYK | cmyk(74.7%, 0%, 60.8%, 23.9%) |
| CIE-LAB | lab(69.30, -61.30, 47.68) |
| CIE-LCH | lch(69.30, 77.66, 142.12°) |
| OKLab | oklab(71.5% -0.1653 0.1121) |
| OKLCH | oklch(71.5% 0.2 145.9) |
| XYZ | xyz(21.8613, 39.7558, 13.3576) |
| Luminance | 0.3976 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.44
Leafy Green
#51B73B
ΔE00 4.26
Shamrock
#01B44C
ΔE00 4.48
Lime Green
#32CD32
ΔE00 4.49
Cool Green
#33B864
ΔE00 5.34
Algae Green
#21C36F
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C24C #C231A7
analogous
#5FC231 #31C24C #31C294
triadic
#31C24C #4C31C2 #C24C31
tetradic
#31C24C #315FC2 #C231A7 #C29431
square
#31C24C #315FC2 #C231A7 #C29431
split-complementary
#31C24C #9431C2 #C2315F
monochromatic
#186026 #259139 #31C24C #5BD672 #8CE29C
Accessibility & contrast
On white
2.35
#31C24C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.95
#31C24C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C24C
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C24C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C24C | 1.00 | 2.35 | 8.95 | 8.95 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B03F
Deuteranopia (green-blind)
#B4A556
Tritanopia (blue-blind)
#00BDA9
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #31c24c; /* rgb */ color: rgb(49, 194, 76); /* oklch */ color: oklch(71.5% 0.200 145.9);
Tailwind
colors: {
custom: {
50: '#7fd682',
500: '#31c24c',
950: '#000000',
},
}SCSS
$custom: #31c24c; $custom-light: #7fd682; $custom-dark: #000000;
JSON
{
"hex": "#31c24c",
"rgb": {
"r": 49,
"g": 194,
"b": 76
},
"hsl": {
"h": 131.172,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.71497,
"c": 0.19968,
"h": 145.9
},
"luminance": 0.39758
}Semantic roles & 50–950 ramp
primary
#31C24C
secondary
#CC83BE
accent
#45C5E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C