#31C55E#31C55E
#31C55E is a light, vivid green. Relative luminance 0.414; OKLCH L 72.5% C 0.189 H 148.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #31C55E |
|---|---|
| RGB | rgb(49, 197, 94) |
| HSL | hsl(138, 60%, 48%) |
| HSV | hsv(138, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 52.3%, 22.7%) |
| CIE-LAB | lab(70.45, -59.92, 40.62) |
| CIE-LCH | lch(70.45, 72.39, 145.87°) |
| OKLab | oklab(72.52% -0.1611 0.0979) |
| OKLCH | oklch(72.52% 0.189 148.7) |
| XYZ | xyz(23.2514, 41.3909, 17.3513) |
| Luminance | 0.4139 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.32
Algae Green
#21C36F
ΔE00 3.35
Dark Mint
#48C072
ΔE00 3.95
Emerald
#50C878
ΔE00 3.99
Cool Green
#33B864
ΔE00 4.17
Dark Mint Green
#20C073
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C55E #C53198
analogous
#4EC531 #31C55E #31C5A8
triadic
#31C55E #5E31C5 #C55E31
tetradic
#31C55E #314EC5 #C53198 #C5A831
square
#31C55E #314EC5 #C53198 #C5A831
split-complementary
#31C55E #A831C5 #C5314E
monochromatic
#19632F #259447 #31C55E #5DD782 #8EE3A8
Accessibility & contrast
On white
2.26
#31C55E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#31C55E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C55E
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C55E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C55E | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B455
Deuteranopia (green-blind)
#B6A866
Tritanopia (blue-blind)
#00C1AD
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c55e; /* rgb */ color: rgb(49, 197, 94); /* oklch */ color: oklch(72.5% 0.189 148.7);
Tailwind
colors: {
custom: {
50: '#7fd88e',
500: '#31c55e',
950: '#000000',
},
}SCSS
$custom: #31c55e; $custom-light: #7fd88e; $custom-dark: #000000;
JSON
{
"hex": "#31c55e",
"rgb": {
"r": 49,
"g": 197,
"b": 94
},
"hsl": {
"h": 138.243,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72519,
"c": 0.1885,
"h": 148.7
},
"luminance": 0.41394
}Semantic roles & 50–950 ramp
primary
#31C55E
secondary
#CD85B7
accent
#44B3E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D