#40C876#40C876
#40C876 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.166 H 152.8°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #40C876 |
|---|---|
| RGB | rgb(64, 200, 118) |
| HSL | hsl(144, 55%, 52%) |
| HSV | hsv(144, 68%, 78%) |
| CMYK | cmyk(68%, 0%, 41%, 21.6%) |
| CIE-LAB | lab(72.03, -54.71, 30.63) |
| CIE-LCH | lch(72.03, 62.70, 150.76°) |
| OKLab | oklab(74.02% -0.1476 0.076) |
| OKLCH | oklch(74.02% 0.166 152.8) |
| XYZ | xyz(26.0364, 43.7037, 24.1995) |
| Luminance | 0.4371 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.10
Algae Green
#21C36F
ΔE00 1.97
Dark Mint
#48C072
ΔE00 2.13
Seaweed
#18D17B
ΔE00 2.66
Dark Mint Green
#20C073
ΔE00 2.77
Cool Green
#33B864
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C876 #C84092
analogous
#4EC840 #40C876 #40C8BA
triadic
#40C876 #7640C8 #C87640
tetradic
#40C876 #404EC8 #C84092 #C8BA40
square
#40C876 #404EC8 #C84092 #C8BA40
split-complementary
#40C876 #BA40C8 #C8404E
monochromatic
#206E3F #2D9D5A #40C876 #70D698 #9FE3BA
Accessibility & contrast
On white
2.16
#40C876 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#40C876 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C876
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C876 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C876 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B870
Deuteranopia (green-blind)
#B7AC7B
Tritanopia (blue-blind)
#00C5B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #40c876; /* rgb */ color: rgb(64, 200, 118); /* oklch */ color: oklch(74.0% 0.166 152.8);
Tailwind
colors: {
custom: {
50: '#85da9e',
500: '#40c876',
950: '#000000',
},
}SCSS
$custom: #40c876; $custom-light: #85da9e; $custom-dark: #000000;
JSON
{
"hex": "#40c876",
"rgb": {
"r": 64,
"g": 200,
"b": 118
},
"hsl": {
"h": 143.824,
"s": 55.285,
"l": 51.765
},
"oklch": {
"l": 0.74022,
"c": 0.16604,
"h": 152.8
},
"luminance": 0.43707
}Semantic roles & 50–950 ramp
primary
#40C876
secondary
#D094B8
accent
#49A3DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E