#31C862#31C862
#31C862 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.4% C 0.189 H 149.3°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #31C862 |
|---|---|
| RGB | rgb(49, 200, 98) |
| HSL | hsl(139, 61%, 49%) |
| HSV | hsv(139, 76%, 78%) |
| CMYK | cmyk(75.5%, 0%, 51%, 21.6%) |
| CIE-LAB | lab(71.45, -60.35, 39.90) |
| CIE-LCH | lch(71.45, 72.35, 146.53°) |
| OKLab | oklab(73.36% -0.1622 0.0965) |
| OKLCH | oklch(73.36% 0.189 149.3) |
| XYZ | xyz(24.1235, 42.8405, 18.5506) |
| Luminance | 0.4284 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.98
Algae Green
#21C36F
ΔE00 3.27
Emerald
#50C878
ΔE00 3.61
Dark Mint
#48C072
ΔE00 3.99
Seaweed
#18D17B
ΔE00 4.12
Dark Mint Green
#20C073
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C862 #C83197
analogous
#4CC831 #31C862 #31C8AE
triadic
#31C862 #6231C8 #C86231
tetradic
#31C862 #314CC8 #C83197 #C8AE31
square
#31C862 #314CC8 #C83197 #C8AE31
split-complementary
#31C862 #AE31C8 #C8314C
monochromatic
#196632 #25974A #31C862 #5FD886 #90E4AB
Accessibility & contrast
On white
2.19
#31C862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#31C862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C862
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C862 | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB659
Deuteranopia (green-blind)
#B8AA6A
Tritanopia (blue-blind)
#00C4B0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #31c862; /* rgb */ color: rgb(49, 200, 98); /* oklch */ color: oklch(73.4% 0.189 149.3);
Tailwind
colors: {
custom: {
50: '#80da90',
500: '#31c862',
950: '#000000',
},
}SCSS
$custom: #31c862; $custom-light: #80da90; $custom-dark: #000000;
JSON
{
"hex": "#31c862",
"rgb": {
"r": 49,
"g": 200,
"b": 98
},
"hsl": {
"h": 139.47,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.73361,
"c": 0.18876,
"h": 149.3
},
"luminance": 0.42843
}Semantic roles & 50–950 ramp
primary
#31C862
secondary
#CE86B7
accent
#44B0E4
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E