#40C06C#40C06C
#40C06C is a light, vivid green. Relative luminance 0.399; OKLCH L 71.8% C 0.165 H 151.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #40C06C |
|---|---|
| RGB | rgb(64, 192, 108) |
| HSL | hsl(141, 50%, 50%) |
| HSV | hsv(141, 67%, 75%) |
| CMYK | cmyk(66.7%, 0%, 43.7%, 24.7%) |
| CIE-LAB | lab(69.38, -53.43, 32.33) |
| CIE-LCH | lch(69.38, 62.45, 148.83°) |
| OKLab | oklab(71.78% -0.1441 0.0797) |
| OKLCH | oklch(71.78% 0.165 151.1) |
| XYZ | xyz(23.6689, 39.8695, 20.6327) |
| Luminance | 0.3987 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 1.08
Algae Green
#21C36F
ΔE00 1.76
Cool Green
#33B864
ΔE00 2.33
Dark Mint Green
#20C073
ΔE00 2.36
Emerald
#50C878
ΔE00 2.51
Fern
#63B76C
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C06C #C04094
analogous
#54C040 #40C06C #40C0AC
triadic
#40C06C #6C40C0 #C06C40
tetradic
#40C06C #4054C0 #C04094 #C0AC40
square
#40C06C #4054C0 #C04094 #C0AC40
split-complementary
#40C06C #AC40C0 #C04054
monochromatic
#216438 #309252 #40C06C #6ECF8F #9CDEB3
Accessibility & contrast
On white
2.34
#40C06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#40C06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C06C
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C06C | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1B066
Deuteranopia (green-blind)
#B1A572
Tritanopia (blue-blind)
#00BDAC
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #40c06c; /* rgb */ color: rgb(64, 192, 108); /* oklch */ color: oklch(71.8% 0.165 151.1);
Tailwind
colors: {
custom: {
50: '#84d497',
500: '#40c06c',
950: '#000000',
},
}SCSS
$custom: #40c06c; $custom-light: #84d497; $custom-dark: #000000;
JSON
{
"hex": "#40c06c",
"rgb": {
"r": 64,
"g": 192,
"b": 108
},
"hsl": {
"h": 140.625,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.71784,
"c": 0.16466,
"h": 151.1
},
"luminance": 0.39872
}Semantic roles & 50–950 ramp
primary
#40C06C
secondary
#CB91B7
accent
#4EAADA
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140D
muted
#7D837E