#31C950#31C950
#31C950 is a light, highly saturated green. Relative luminance 0.430; OKLCH L 73.4% C 0.205 H 146.1°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #31C950 |
|---|---|
| RGB | rgb(49, 201, 80) |
| HSL | hsl(132, 61%, 49%) |
| HSV | hsv(132, 76%, 79%) |
| CMYK | cmyk(75.6%, 0%, 60.2%, 21.2%) |
| CIE-LAB | lab(71.56, -63.14, 48.49) |
| CIE-LCH | lch(71.56, 79.61, 142.48°) |
| OKLab | oklab(73.39% -0.1701 0.1142) |
| OKLCH | oklch(73.39% 0.205 146.1) |
| XYZ | xyz(23.5995, 43.0027, 14.6445) |
| Luminance | 0.4300 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.57
Lime Green
#32CD32
ΔE00 3.64
Leafy Green
#51B73B
ΔE00 5.59
Algae Green
#21C36F
ΔE00 5.81
Tealish Green
#0CDC73
ΔE00 5.86
Fresh Green
#69D84F
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C950 #C931AA
analogous
#5EC931 #31C950 #31C99C
triadic
#31C950 #5031C9 #C95031
tetradic
#31C950 #315EC9 #C931AA #C99C31
square
#31C950 #315EC9 #C931AA #C99C31
split-complementary
#31C950 #9C31C9 #C9315E
monochromatic
#196729 #25983C #31C950 #5FD878 #90E4A1
Accessibility & contrast
On white
2.19
#31C950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.60
#31C950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C950
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C950 | 1.00 | 2.19 | 9.60 | 9.60 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB743
Deuteranopia (green-blind)
#BBAB5A
Tritanopia (blue-blind)
#00C4AF
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #31c950; /* rgb */ color: rgb(49, 201, 80); /* oklch */ color: oklch(73.4% 0.205 146.1);
Tailwind
colors: {
custom: {
50: '#81db85',
500: '#31c950',
950: '#000000',
},
}SCSS
$custom: #31c950; $custom-light: #81db85; $custom-dark: #000000;
JSON
{
"hex": "#31c950",
"rgb": {
"r": 49,
"g": 201,
"b": 80
},
"hsl": {
"h": 132.237,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.73386,
"c": 0.20485,
"h": 146.1
},
"luminance": 0.43005
}Semantic roles & 50–950 ramp
primary
#31C950
secondary
#CF87C0
accent
#44C3E4
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C