#31C456#31C456
#31C456 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.1% C 0.194 H 147.3°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #31C456 |
|---|---|
| RGB | rgb(49, 196, 86) |
| HSL | hsl(135, 60%, 48%) |
| HSV | hsv(135, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 56.1%, 23.1%) |
| CIE-LAB | lab(70.04, -60.70, 43.95) |
| CIE-LCH | lch(70.04, 74.94, 144.09°) |
| OKLab | oklab(72.15% -0.1633 0.1048) |
| OKLCH | oklch(72.15% 0.194 147.3) |
| XYZ | xyz(22.6845, 40.8021, 15.4823) |
| Luminance | 0.4081 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.59
Algae Green
#21C36F
ΔE00 4.39
Shamrock
#01B44C
ΔE00 4.66
Cool Green
#33B864
ΔE00 4.68
Dark Mint
#48C072
ΔE00 4.87
Emerald
#50C878
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C456 #C4319F
analogous
#55C431 #31C456 #31C49F
triadic
#31C456 #5631C4 #C45631
tetradic
#31C456 #3155C4 #C4319F #C49F31
square
#31C456 #3155C4 #C4319F #C49F31
split-complementary
#31C456 #9F31C4 #C43155
monochromatic
#19622B #259341 #31C456 #5CD67B #8DE2A2
Accessibility & contrast
On white
2.29
#31C456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#31C456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C456
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C456 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B24B
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#00C0AC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #31c456; /* rgb */ color: rgb(49, 196, 86); /* oklch */ color: oklch(72.1% 0.194 147.3);
Tailwind
colors: {
custom: {
50: '#80d788',
500: '#31c456',
950: '#000000',
},
}SCSS
$custom: #31c456; $custom-light: #80d788; $custom-dark: #000000;
JSON
{
"hex": "#31c456",
"rgb": {
"r": 49,
"g": 196,
"b": 86
},
"hsl": {
"h": 135.102,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72147,
"c": 0.19406,
"h": 147.3
},
"luminance": 0.40805
}Semantic roles & 50–950 ramp
primary
#31C456
secondary
#CD84BA
accent
#45BBE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D