#31C657#31C657
#31C657 is a light, vivid green. Relative luminance 0.417; OKLCH L 72.7% C 0.196 H 147.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #31C657 |
|---|---|
| RGB | rgb(49, 198, 87) |
| HSL | hsl(135, 60%, 48%) |
| HSV | hsv(135, 75%, 78%) |
| CMYK | cmyk(75.3%, 0%, 56.1%, 22.4%) |
| CIE-LAB | lab(70.68, -61.24, 44.25) |
| CIE-LCH | lch(70.68, 75.56, 144.15°) |
| OKLab | oklab(72.69% -0.1648 0.1055) |
| OKLCH | oklch(72.69% 0.196 147.4) |
| XYZ | xyz(23.1792, 41.7265, 15.8474) |
| Luminance | 0.4173 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.91
Algae Green
#21C36F
ΔE00 4.48
Emerald
#50C878
ΔE00 4.93
Lime Green
#32CD32
ΔE00 5.01
Dark Mint
#48C072
ΔE00 5.02
Cool Green
#33B864
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C657 #C631A0
analogous
#55C631 #31C657 #31C6A1
triadic
#31C657 #5731C6 #C65731
tetradic
#31C657 #3155C6 #C631A0 #C6A131
square
#31C657 #3155C6 #C631A0 #C6A131
split-complementary
#31C657 #A131C6 #C63155
monochromatic
#19642C #259541 #31C657 #5DD77C #8EE3A4
Accessibility & contrast
On white
2.25
#31C657 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.35
#31C657 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C657
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C657 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C657 | 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)
#C8B44C
Deuteranopia (green-blind)
#B7A860
Tritanopia (blue-blind)
#00C2AD
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #31c657; /* rgb */ color: rgb(49, 198, 87); /* oklch */ color: oklch(72.7% 0.196 147.4);
Tailwind
colors: {
custom: {
50: '#80d889',
500: '#31c657',
950: '#000000',
},
}SCSS
$custom: #31c657; $custom-light: #80d889; $custom-dark: #000000;
JSON
{
"hex": "#31c657",
"rgb": {
"r": 49,
"g": 198,
"b": 87
},
"hsl": {
"h": 135.302,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.72685,
"c": 0.19565,
"h": 147.4
},
"luminance": 0.41729
}Semantic roles & 50–950 ramp
primary
#31C657
secondary
#CE85BB
accent
#44BBE3
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D