#31C049#31C049
#31C049 is a light, vivid green. Relative luminance 0.388; OKLCH L 70.9% C 0.200 H 145.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #31C049 |
|---|---|
| RGB | rgb(49, 192, 73) |
| HSL | hsl(130, 59%, 47%) |
| HSV | hsv(130, 74%, 75%) |
| CMYK | cmyk(74.5%, 0%, 62%, 24.7%) |
| CIE-LAB | lab(68.63, -60.99, 48.26) |
| CIE-LCH | lch(68.63, 77.78, 141.65°) |
| OKLab | oklab(70.94% -0.1645 0.113) |
| OKLCH | oklch(70.94% 0.2 145.5) |
| XYZ | xyz(21.3174, 38.8308, 12.6737) |
| Luminance | 0.3883 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.54
Leafy Green
#51B73B
ΔE00 3.80
Shamrock
#01B44C
ΔE00 4.14
Lime Green
#32CD32
ΔE00 4.67
Cool Green
#33B864
ΔE00 5.32
Medium Green
#39AD48
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C049 #C031A8
analogous
#61C031 #31C049 #31C091
triadic
#31C049 #4931C0 #C04931
tetradic
#31C049 #3161C0 #C031A8 #C09131
square
#31C049 #3161C0 #C031A8 #C09131
split-complementary
#31C049 #9131C0 #C03161
monochromatic
#185E24 #258F36 #31C049 #59D56E #8AE199
Accessibility & contrast
On white
2.40
#31C049 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#31C049 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C049
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C049 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C049 | 1.00 | 2.40 | 8.77 | 8.77 |
| #FFFFFF | 2.40 | 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)
#C3AE3C
Deuteranopia (green-blind)
#B3A353
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #31c049; /* rgb */ color: rgb(49, 192, 73); /* oklch */ color: oklch(70.9% 0.200 145.5);
Tailwind
colors: {
custom: {
50: '#7fd480',
500: '#31c049',
950: '#000000',
},
}SCSS
$custom: #31c049; $custom-light: #7fd480; $custom-dark: #000000;
JSON
{
"hex": "#31c049",
"rgb": {
"r": 49,
"g": 192,
"b": 73
},
"hsl": {
"h": 130.07,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.70935,
"c": 0.19962,
"h": 145.5
},
"luminance": 0.38833
}Semantic roles & 50–950 ramp
primary
#31C049
secondary
#CB82BF
accent
#45C8E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C