#40C06E#40C06E
#40C06E is a light, vivid green. Relative luminance 0.399; OKLCH L 71.8% C 0.163 H 151.6°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).
Color values
| HEX | #40C06E |
|---|---|
| RGB | rgb(64, 192, 110) |
| HSL | hsl(142, 50%, 50%) |
| HSV | hsv(142, 67%, 75%) |
| CMYK | cmyk(66.7%, 0%, 42.7%, 24.7%) |
| CIE-LAB | lab(69.41, -53.09, 31.34) |
| CIE-LCH | lch(69.41, 61.65, 149.45°) |
| OKLab | oklab(71.82% -0.1432 0.0774) |
| OKLCH | oklch(71.82% 0.163 151.6) |
| XYZ | xyz(23.7765, 39.9125, 21.1997) |
| Luminance | 0.3992 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 0.79
Algae Green
#21C36F
ΔE00 1.66
Dark Mint Green
#20C073
ΔE00 2.09
Cool Green
#33B864
ΔE00 2.40
Emerald
#50C878
ΔE00 2.41
Fern
#63B76C
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C06E #C04092
analogous
#52C040 #40C06E #40C0AE
triadic
#40C06E #6E40C0 #C06E40
tetradic
#40C06E #4052C0 #C04092 #C0AE40
square
#40C06E #4052C0 #C04092 #C0AE40
split-complementary
#40C06E #AE40C0 #C04052
monochromatic
#216439 #309254 #40C06E #6ECF91 #9CDEB4
Accessibility & contrast
On white
2.34
#40C06E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.98
#40C06E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C06E
8.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C06E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C06E | 1.00 | 2.34 | 8.98 | 8.98 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B068
Deuteranopia (green-blind)
#B1A574
Tritanopia (blue-blind)
#00BDAC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #40c06e; /* rgb */ color: rgb(64, 192, 110); /* oklch */ color: oklch(71.8% 0.163 151.6);
Tailwind
colors: {
custom: {
50: '#84d498',
500: '#40c06e',
950: '#000000',
},
}SCSS
$custom: #40c06e; $custom-light: #84d498; $custom-dark: #000000;
JSON
{
"hex": "#40c06e",
"rgb": {
"r": 64,
"g": 192,
"b": 110
},
"hsl": {
"h": 141.563,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.7182,
"c": 0.1628,
"h": 151.6
},
"luminance": 0.39915
}Semantic roles & 50–950 ramp
primary
#40C06E
secondary
#CB91B6
accent
#4EA8DA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E