#31C457#31C457
#31C457 is a light, vivid green. Relative luminance 0.408; OKLCH L 72.2% C 0.193 H 147.5°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #31C457 |
|---|---|
| RGB | rgb(49, 196, 87) |
| HSL | hsl(136, 60%, 48%) |
| HSV | hsv(136, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 55.6%, 23.1%) |
| CIE-LAB | lab(70.05, -60.57, 43.49) |
| CIE-LCH | lch(70.05, 74.56, 144.32°) |
| OKLab | oklab(72.16% -0.163 0.1038) |
| OKLCH | oklch(72.16% 0.193 147.5) |
| XYZ | xyz(22.7251, 40.8183, 15.6960) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.64
Algae Green
#21C36F
ΔE00 4.25
Cool Green
#33B864
ΔE00 4.58
Shamrock
#01B44C
ΔE00 4.65
Dark Mint
#48C072
ΔE00 4.73
Emerald
#50C878
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C457 #C4319E
analogous
#55C431 #31C457 #31C4A0
triadic
#31C457 #5731C4 #C45731
tetradic
#31C457 #3155C4 #C4319E #C4A031
square
#31C457 #3155C4 #C4319E #C4A031
split-complementary
#31C457 #A031C4 #C43155
monochromatic
#19622C #259341 #31C457 #5CD67C #8DE2A3
Accessibility & contrast
On white
2.29
#31C457 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#31C457 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C457
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C457 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C457 | 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)
#C6B24D
Deuteranopia (green-blind)
#B5A75F
Tritanopia (blue-blind)
#00C0AC
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #31c457; /* rgb */ color: rgb(49, 196, 87); /* oklch */ color: oklch(72.2% 0.193 147.5);
Tailwind
colors: {
custom: {
50: '#7fd789',
500: '#31c457',
950: '#000000',
},
}SCSS
$custom: #31c457; $custom-light: #7fd789; $custom-dark: #000000;
JSON
{
"hex": "#31c457",
"rgb": {
"r": 49,
"g": 196,
"b": 87
},
"hsl": {
"h": 135.51,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.7216,
"c": 0.19323,
"h": 147.5
},
"luminance": 0.40821
}Semantic roles & 50–950 ramp
primary
#31C457
secondary
#CD84BA
accent
#45BAE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D