#31C56F#31C56F
#31C56F is a light, vivid green. Relative luminance 0.417; OKLCH L 72.8% C 0.173 H 152.5°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #31C56F |
|---|---|
| RGB | rgb(49, 197, 111) |
| HSL | hsl(145, 60%, 48%) |
| HSV | hsv(145, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 43.7%, 22.7%) |
| CIE-LAB | lab(70.68, -57.17, 32.42) |
| CIE-LCH | lch(70.68, 65.72, 150.45°) |
| OKLab | oklab(72.79% -0.1538 0.08) |
| OKLCH | oklch(72.79% 0.173 152.5) |
| XYZ | xyz(24.1000, 41.7303, 21.8205) |
| Luminance | 0.4173 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.95
Dark Mint
#48C072
ΔE00 2.00
Emerald
#50C878
ΔE00 2.17
Dark Mint Green
#20C073
ΔE00 2.18
Seaweed
#18D17B
ΔE00 3.20
Cool Green
#33B864
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C56F #C53187
analogous
#3DC531 #31C56F #31C5B9
triadic
#31C56F #6F31C5 #C56F31
tetradic
#31C56F #313DC5 #C53187 #C5B931
square
#31C56F #313DC5 #C53187 #C5B931
split-complementary
#31C56F #B931C5 #C5313D
monochromatic
#196338 #259453 #31C56F #5DD790 #8EE3B1
Accessibility & contrast
On white
2.25
#31C56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#31C56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C56F
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C56F | 1.00 | 2.25 | 9.35 | 9.35 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B469
Deuteranopia (green-blind)
#B4A875
Tritanopia (blue-blind)
#00C2B0
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c56f; /* rgb */ color: rgb(49, 197, 111); /* oklch */ color: oklch(72.8% 0.173 152.5);
Tailwind
colors: {
custom: {
50: '#7fd899',
500: '#31c56f',
950: '#000000',
},
}SCSS
$custom: #31c56f; $custom-light: #7fd899; $custom-dark: #000000;
JSON
{
"hex": "#31c56f",
"rgb": {
"r": 49,
"g": 197,
"b": 111
},
"hsl": {
"h": 145.135,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72791,
"c": 0.17337,
"h": 152.5
},
"luminance": 0.41733
}Semantic roles & 50–950 ramp
primary
#31C56F
secondary
#CD85AF
accent
#44A1E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E