#40C778#40C778
#40C778 is a light, vivid green. Relative luminance 0.433; OKLCH L 73.8% C 0.163 H 153.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #40C778 |
|---|---|
| RGB | rgb(64, 199, 120) |
| HSL | hsl(145, 55%, 52%) |
| HSV | hsv(145, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 39.7%, 22%) |
| CIE-LAB | lab(71.75, -53.97, 29.23) |
| CIE-LCH | lch(71.75, 61.38, 151.56°) |
| OKLab | oklab(73.8% -0.1457 0.0728) |
| OKLCH | oklch(73.8% 0.163 153.5) |
| XYZ | xyz(25.9257, 43.2901, 24.7552) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald
#50C878
ΔE00 1.24
Algae Green
#21C36F
ΔE00 1.93
Dark Mint
#48C072
ΔE00 1.93
Dark Mint Green
#20C073
ΔE00 2.44
Seaweed
#18D17B
ΔE00 2.87
Cool Green
#33B864
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C778 #C7408F
analogous
#4CC740 #40C778 #40C7BC
triadic
#40C778 #7840C7 #C77840
tetradic
#40C778 #404CC7 #C7408F #C7BC40
square
#40C778 #404CC7 #C7408F #C7BC40
split-complementary
#40C778 #BC40C7 #C7404C
monochromatic
#206D40 #2E9C5C #40C778 #6FD599 #9FE3BB
Accessibility & contrast
On white
2.17
#40C778 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#40C778 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C778
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C778 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C778 | 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)
#C7B773
Deuteranopia (green-blind)
#B6AB7D
Tritanopia (blue-blind)
#00C5B3
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #40c778; /* rgb */ color: rgb(64, 199, 120); /* oklch */ color: oklch(73.8% 0.163 153.5);
Tailwind
colors: {
custom: {
50: '#85d99f',
500: '#40c778',
950: '#000000',
},
}SCSS
$custom: #40c778; $custom-light: #85d99f; $custom-dark: #000000;
JSON
{
"hex": "#40c778",
"rgb": {
"r": 64,
"g": 199,
"b": 120
},
"hsl": {
"h": 144.889,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73803,
"c": 0.16288,
"h": 153.5
},
"luminance": 0.43293
}Semantic roles & 50–950 ramp
primary
#40C778
secondary
#CF94B6
accent
#4AA1DE
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E