#40C978#40C978
#40C978 is a light, vivid green. Relative luminance 0.442; OKLCH L 74.3% C 0.166 H 153.2°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).
Color values
| HEX | #40C978 |
|---|---|
| RGB | rgb(64, 201, 120) |
| HSL | hsl(145, 56%, 52%) |
| HSV | hsv(145, 68%, 79%) |
| CMYK | cmyk(68.2%, 0%, 40.3%, 21.2%) |
| CIE-LAB | lab(72.37, -54.73, 30.05) |
| CIE-LCH | lch(72.37, 62.44, 151.23°) |
| OKLab | oklab(74.32% -0.1477 0.0747) |
| OKLCH | oklch(74.32% 0.166 153.2) |
| XYZ | xyz(26.3889, 44.2165, 24.9096) |
| Luminance | 0.4422 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.15
Algae Green
#21C36F
ΔE00 2.19
Dark Mint
#48C072
ΔE00 2.38
Seaweed
#18D17B
ΔE00 2.44
Dark Mint Green
#20C073
ΔE00 2.90
Cool Green
#33B864
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C978 #C94091
analogous
#4DC940 #40C978 #40C9BD
triadic
#40C978 #7840C9 #C97840
tetradic
#40C978 #404DC9 #C94091 #C9BD40
square
#40C978 #404DC9 #C94091 #C9BD40
split-complementary
#40C978 #BD40C9 #C9404D
monochromatic
#1F6F40 #2D9F5C #40C978 #70D69A #9FE4BB
Accessibility & contrast
On white
2.13
#40C978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.84
#40C978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C978
9.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C978 | 1.00 | 2.13 | 9.84 | 9.84 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B972
Deuteranopia (green-blind)
#B8AD7D
Tritanopia (blue-blind)
#00C6B5
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #40c978; /* rgb */ color: rgb(64, 201, 120); /* oklch */ color: oklch(74.3% 0.166 153.2);
Tailwind
colors: {
custom: {
50: '#85daa0',
500: '#40c978',
950: '#000000',
},
}SCSS
$custom: #40c978; $custom-light: #85daa0; $custom-dark: #000000;
JSON
{
"hex": "#40c978",
"rgb": {
"r": 64,
"g": 201,
"b": 120
},
"hsl": {
"h": 144.526,
"s": 55.918,
"l": 51.961
},
"oklch": {
"l": 0.74315,
"c": 0.16552,
"h": 153.2
},
"luminance": 0.44219
}Semantic roles & 50–950 ramp
primary
#40C978
secondary
#D094B8
accent
#49A2DF
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E