#31C556#31C556
#31C556 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.4% C 0.195 H 147.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #31C556 |
|---|---|
| RGB | rgb(49, 197, 86) |
| HSL | hsl(135, 60%, 48%) |
| HSV | hsv(135, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 56.3%, 22.7%) |
| CIE-LAB | lab(70.35, -61.04, 44.33) |
| CIE-LCH | lch(70.35, 75.44, 144.01°) |
| OKLab | oklab(72.41% -0.1643 0.1056) |
| OKLCH | oklch(72.41% 0.195 147.3) |
| XYZ | xyz(22.9108, 41.2547, 15.5578) |
| Luminance | 0.4126 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.72
Algae Green
#21C36F
ΔE00 4.50
Shamrock
#01B44C
ΔE00 4.92
Cool Green
#33B864
ΔE00 4.92
Dark Mint
#48C072
ΔE00 5.00
Emerald
#50C878
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C556 #C531A0
analogous
#56C531 #31C556 #31C5A0
triadic
#31C556 #5631C5 #C55631
tetradic
#31C556 #3156C5 #C531A0 #C5A031
square
#31C556 #3156C5 #C531A0 #C5A031
split-complementary
#31C556 #A031C5 #C53156
monochromatic
#19632B #259441 #31C556 #5DD77B #8EE3A3
Accessibility & contrast
On white
2.27
#31C556 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#31C556 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C556
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C556 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C556 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B34B
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#00C1AC
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c556; /* rgb */ color: rgb(49, 197, 86); /* oklch */ color: oklch(72.4% 0.195 147.3);
Tailwind
colors: {
custom: {
50: '#80d888',
500: '#31c556',
950: '#000000',
},
}SCSS
$custom: #31c556; $custom-light: #80d888; $custom-dark: #000000;
JSON
{
"hex": "#31c556",
"rgb": {
"r": 49,
"g": 197,
"b": 86
},
"hsl": {
"h": 135,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72409,
"c": 0.19527,
"h": 147.3
},
"luminance": 0.41257
}Semantic roles & 50–950 ramp
primary
#31C556
secondary
#CD85BB
accent
#44BCE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D