#40C762#40C762
#40C762 is a light, vivid green. Relative luminance 0.428; OKLCH L 73.4% C 0.183 H 148.1°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #40C762 |
|---|---|
| RGB | rgb(64, 199, 98) |
| HSL | hsl(135, 55%, 52%) |
| HSV | hsv(135, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 50.8%, 22%) |
| CIE-LAB | lab(71.43, -57.61, 39.94) |
| CIE-LCH | lch(71.43, 70.10, 145.26°) |
| OKLab | oklab(73.43% -0.1553 0.0966) |
| OKLCH | oklch(73.43% 0.183 148.1) |
| XYZ | xyz(24.7405, 42.8160, 18.5134) |
| Luminance | 0.4282 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 3.15
Emerald
#50C878
ΔE00 3.46
Algae Green
#21C36F
ΔE00 3.59
Dark Mint
#48C072
ΔE00 3.84
Seaweed
#18D17B
ΔE00 4.58
Cool Green
#33B864
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C762 #C740A5
analogous
#62C740 #40C762 #40C7A6
triadic
#40C762 #6240C7 #C76240
tetradic
#40C762 #4062C7 #C740A5 #C7A640
square
#40C762 #4062C7 #C740A5 #C7A640
split-complementary
#40C762 #A640C7 #C74062
monochromatic
#206D33 #2E9C4A #40C762 #6FD589 #9FE3B0
Accessibility & contrast
On white
2.20
#40C762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#40C762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C762
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C762 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B659
Deuteranopia (green-blind)
#B9AA69
Tritanopia (blue-blind)
#00C3B0
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c762; /* rgb */ color: rgb(64, 199, 98); /* oklch */ color: oklch(73.4% 0.183 148.1);
Tailwind
colors: {
custom: {
50: '#85d990',
500: '#40c762',
950: '#000000',
},
}SCSS
$custom: #40c762; $custom-light: #85d990; $custom-dark: #000000;
JSON
{
"hex": "#40c762",
"rgb": {
"r": 64,
"g": 199,
"b": 98
},
"hsl": {
"h": 135.111,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73433,
"c": 0.18285,
"h": 148.1
},
"luminance": 0.42819
}Semantic roles & 50–950 ramp
primary
#40C762
secondary
#CF94C0
accent
#4AB9DE
background
#F8FDF9
surface
#F0FBF1
border
#CBD4CB
text
#0C150D
muted
#7D837E