#31C04F#31C04F
#31C04F is a light, vivid green. Relative luminance 0.389; OKLCH L 71.0% C 0.195 H 146.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #31C04F |
|---|---|
| RGB | rgb(49, 192, 79) |
| HSL | hsl(133, 59%, 47%) |
| HSV | hsv(133, 74%, 75%) |
| CMYK | cmyk(74.5%, 0%, 58.9%, 24.7%) |
| CIE-LAB | lab(68.69, -60.27, 45.62) |
| CIE-LCH | lch(68.69, 75.59, 142.87°) |
| OKLab | oklab(71.01% -0.1624 0.1079) |
| OKLCH | oklch(71.01% 0.195 146.4) |
| XYZ | xyz(21.5260, 38.9143, 13.7724) |
| Luminance | 0.3892 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.23
Shamrock
#01B44C
ΔE00 3.83
Leafy Green
#51B73B
ΔE00 4.29
Cool Green
#33B864
ΔE00 4.60
Algae Green
#21C36F
ΔE00 5.07
Lime Green
#32CD32
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C04F #C031A2
analogous
#5BC031 #31C04F #31C096
triadic
#31C04F #4F31C0 #C04F31
tetradic
#31C04F #315BC0 #C031A2 #C09631
square
#31C04F #315BC0 #C031A2 #C09631
split-complementary
#31C04F #9631C0 #C0315B
monochromatic
#185E27 #258F3B #31C04F #59D573 #8AE19C
Accessibility & contrast
On white
2.39
#31C04F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#31C04F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C04F
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C04F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C04F | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE43
Deuteranopia (green-blind)
#B2A358
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #31c04f; /* rgb */ color: rgb(49, 192, 79); /* oklch */ color: oklch(71.0% 0.195 146.4);
Tailwind
colors: {
custom: {
50: '#7fd484',
500: '#31c04f',
950: '#000000',
},
}SCSS
$custom: #31c04f; $custom-light: #7fd484; $custom-dark: #000000;
JSON
{
"hex": "#31c04f",
"rgb": {
"r": 49,
"g": 192,
"b": 79
},
"hsl": {
"h": 132.587,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.71005,
"c": 0.19493,
"h": 146.4
},
"luminance": 0.38917
}Semantic roles & 50–950 ramp
primary
#31C04F
secondary
#CB82BC
accent
#45C2E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C