#31C962#31C962
#31C962 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.6% C 0.190 H 149.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #31C962 |
|---|---|
| RGB | rgb(49, 201, 98) |
| HSL | hsl(139, 61%, 49%) |
| HSV | hsv(139, 76%, 79%) |
| CMYK | cmyk(75.6%, 0%, 51.2%, 21.2%) |
| CIE-LAB | lab(71.76, -60.70, 40.29) |
| CIE-LCH | lch(71.76, 72.85, 146.43°) |
| OKLab | oklab(73.62% -0.1631 0.0974) |
| OKLCH | oklch(73.62% 0.19 149.2) |
| XYZ | xyz(24.3559, 43.3052, 18.6280) |
| Luminance | 0.4331 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.09
Algae Green
#21C36F
ΔE00 3.46
Emerald
#50C878
ΔE00 3.70
Seaweed
#18D17B
ΔE00 4.08
Dark Mint
#48C072
ΔE00 4.20
Tealish Green
#0CDC73
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C962 #C93198
analogous
#4CC931 #31C962 #31C9AE
triadic
#31C962 #6231C9 #C96231
tetradic
#31C962 #314CC9 #C93198 #C9AE31
square
#31C962 #314CC9 #C93198 #C9AE31
split-complementary
#31C962 #AE31C9 #C9314C
monochromatic
#196732 #25984A #31C962 #5FD886 #90E4AB
Accessibility & contrast
On white
2.17
#31C962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#31C962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C962
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C962 | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB759
Deuteranopia (green-blind)
#B9AB6A
Tritanopia (blue-blind)
#00C5B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #31c962; /* rgb */ color: rgb(49, 201, 98); /* oklch */ color: oklch(73.6% 0.190 149.2);
Tailwind
colors: {
custom: {
50: '#80db91',
500: '#31c962',
950: '#000000',
},
}SCSS
$custom: #31c962; $custom-light: #80db91; $custom-dark: #000000;
JSON
{
"hex": "#31c962",
"rgb": {
"r": 49,
"g": 201,
"b": 98
},
"hsl": {
"h": 139.342,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.73622,
"c": 0.18999,
"h": 149.2
},
"luminance": 0.43308
}Semantic roles & 50–950 ramp
primary
#31C962
secondary
#CF87B8
accent
#44B0E4
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E