#40C166#40C166
#40C166 is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.171 H 149.5°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #40C166 |
|---|---|
| RGB | rgb(64, 193, 102) |
| HSL | hsl(138, 51%, 50%) |
| HSV | hsv(138, 67%, 76%) |
| CMYK | cmyk(66.8%, 0%, 47.2%, 24.3%) |
| CIE-LAB | lab(69.60, -54.80, 35.67) |
| CIE-LCH | lch(69.60, 65.38, 146.94°) |
| OKLab | oklab(71.94% -0.1477 0.0871) |
| OKLCH | oklch(71.94% 0.171 149.5) |
| XYZ | xyz(23.5808, 40.1867, 19.0819) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Mint
#48C072
ΔE00 2.17
Algae Green
#21C36F
ΔE00 2.38
Cool Green
#33B864
ΔE00 2.73
Emerald
#50C878
ΔE00 2.93
Dark Mint Green
#20C073
ΔE00 3.34
Shamrock Green
#02C14D
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C166 #C1409B
analogous
#5BC140 #40C166 #40C1A6
triadic
#40C166 #6640C1 #C16640
tetradic
#40C166 #405BC1 #C1409B #C1A640
square
#40C166 #405BC1 #C1409B #C1A640
split-complementary
#40C166 #A640C1 #C1405B
monochromatic
#216635 #30944D #40C166 #6ED08B #9CDFB0
Accessibility & contrast
On white
2.32
#40C166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#40C166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C166
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C166 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B15F
Deuteranopia (green-blind)
#B2A66C
Tritanopia (blue-blind)
#00BEAB
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #40c166; /* rgb */ color: rgb(64, 193, 102); /* oklch */ color: oklch(71.9% 0.171 149.5);
Tailwind
colors: {
custom: {
50: '#84d593',
500: '#40c166',
950: '#000000',
},
}SCSS
$custom: #40c166; $custom-light: #84d593; $custom-dark: #000000;
JSON
{
"hex": "#40c166",
"rgb": {
"r": 64,
"g": 193,
"b": 102
},
"hsl": {
"h": 137.674,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.71942,
"c": 0.17149,
"h": 149.5
},
"luminance": 0.40189
}Semantic roles & 50–950 ramp
primary
#40C166
secondary
#CB92BA
accent
#4DB1DA
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0C140D
muted
#7D837E