#40C757#40C757
#40C757 is a light, vivid green. Relative luminance 0.426; OKLCH L 73.3% C 0.192 H 146.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #40C757 |
|---|---|
| RGB | rgb(64, 199, 87) |
| HSL | hsl(130, 55%, 52%) |
| HSV | hsv(130, 68%, 78%) |
| CMYK | cmyk(67.8%, 0%, 56.3%, 22%) |
| CIE-LAB | lab(71.30, -59.13, 45.05) |
| CIE-LCH | lch(71.30, 74.34, 142.70°) |
| OKLab | oklab(73.28% -0.1596 0.1072) |
| OKLCH | oklch(73.28% 0.192 146.1) |
| XYZ | xyz(24.2564, 42.6224, 15.9636) |
| Luminance | 0.4263 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.62
Lime Green
#32CD32
ΔE00 4.57
Emerald
#50C878
ΔE00 5.02
Algae Green
#21C36F
ΔE00 5.07
Dark Mint
#48C072
ΔE00 5.31
Leafy Green
#51B73B
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C757 #C740B0
analogous
#6DC740 #40C757 #40C79B
triadic
#40C757 #5740C7 #C75740
tetradic
#40C757 #406DC7 #C740B0 #C79B40
square
#40C757 #406DC7 #C740B0 #C79B40
split-complementary
#40C757 #9B40C7 #C7406D
monochromatic
#206D2D #2E9C41 #40C757 #6FD581 #9FE3AA
Accessibility & contrast
On white
2.20
#40C757 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#40C757 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C757
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C757 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C757 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB54C
Deuteranopia (green-blind)
#BAAA60
Tritanopia (blue-blind)
#0BC2AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #40c757; /* rgb */ color: rgb(64, 199, 87); /* oklch */ color: oklch(73.3% 0.192 146.1);
Tailwind
colors: {
custom: {
50: '#86d989',
500: '#40c757',
950: '#000000',
},
}SCSS
$custom: #40c757; $custom-light: #86d989; $custom-dark: #000000;
JSON
{
"hex": "#40c757",
"rgb": {
"r": 64,
"g": 199,
"b": 87
},
"hsl": {
"h": 130.222,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.73281,
"c": 0.19228,
"h": 146.1
},
"luminance": 0.42625
}Semantic roles & 50–950 ramp
primary
#40C757
secondary
#CF94C5
accent
#4AC5DE
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D