#40C459#40C459
#40C459 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.5% C 0.187 H 146.6°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #40C459 |
|---|---|
| RGB | rgb(64, 196, 89) |
| HSL | hsl(131, 53%, 51%) |
| HSV | hsv(131, 67%, 77%) |
| CMYK | cmyk(67.3%, 0%, 54.6%, 23.1%) |
| CIE-LAB | lab(70.38, -57.81, 43.01) |
| CIE-LCH | lch(70.38, 72.05, 143.35°) |
| OKLab | oklab(72.53% -0.156 0.1029) |
| OKLCH | oklch(72.53% 0.187 146.6) |
| XYZ | xyz(23.6558, 41.2886, 16.1721) |
| Luminance | 0.4129 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.31
Algae Green
#21C36F
ΔE00 4.44
Dark Mint
#48C072
ΔE00 4.58
Emerald
#50C878
ΔE00 4.61
Cool Green
#33B864
ΔE00 4.67
Shamrock
#01B44C
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40C459 #C440AB
analogous
#69C440 #40C459 #40C49B
triadic
#40C459 #5940C4 #C45940
tetradic
#40C459 #4069C4 #C440AB #C49B40
square
#40C459 #4069C4 #C440AB #C49B40
split-complementary
#40C459 #9B40C4 #C44069
monochromatic
#20692E #2F9843 #40C459 #6FD282 #9EE1AA
Accessibility & contrast
On white
2.27
#40C459 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#40C459 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #40C459
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40C459 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40C459 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B34F
Deuteranopia (green-blind)
#B7A861
Tritanopia (blue-blind)
#0DC0AC
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #40c459; /* rgb */ color: rgb(64, 196, 89); /* oklch */ color: oklch(72.5% 0.187 146.6);
Tailwind
colors: {
custom: {
50: '#85d78a',
500: '#40c459',
950: '#000000',
},
}SCSS
$custom: #40c459; $custom-light: #85d78a; $custom-dark: #000000;
JSON
{
"hex": "#40c459",
"rgb": {
"r": 64,
"g": 196,
"b": 89
},
"hsl": {
"h": 131.364,
"s": 52.8,
"l": 50.98
},
"oklch": {
"l": 0.72528,
"c": 0.18685,
"h": 146.6
},
"luminance": 0.41291
}Semantic roles & 50–950 ramp
primary
#40C459
secondary
#CD93C2
accent
#4CC1DC
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D