#40A026#40A026
#40A026 is a light, vivid green. Relative luminance 0.264; OKLCH L 62.5% C 0.180 H 140.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #40A026 |
|---|---|
| RGB | rgb(64, 160, 38) |
| HSL | hsl(107, 62%, 39%) |
| HSV | hsv(107, 76%, 63%) |
| CMYK | cmyk(60%, 0%, 76.3%, 37.3%) |
| CIE-LAB | lab(58.39, -50.23, 51.60) |
| CIE-LCH | lch(58.39, 72.00, 134.23°) |
| OKLab | oklab(62.47% -0.1379 0.1159) |
| OKLCH | oklch(62.47% 0.18 140) |
| XYZ | xyz(15.0343, 26.3702, 6.1310) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 2.42
Grassy Green
#419C03
ΔE00 2.61
Lawn Green
#4DA409
ΔE00 3.27
Mid Green
#50A747
ΔE00 4.21
Kelly Green (survey)
#02AB2E
ΔE00 4.34
Grass
#5CAC2D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40A026 #8626A0
analogous
#7DA026 #40A026 #26A049
triadic
#40A026 #2640A0 #A02640
tetradic
#40A026 #267DA0 #8626A0 #A04926
square
#40A026 #267DA0 #8626A0 #A04926
split-complementary
#40A026 #4926A0 #A0267D
monochromatic
#183D0F #2C6F1A #40A026 #55CF34 #7FDB66
Accessibility & contrast
On white
3.35
#40A026 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#40A026 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #40A026
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40A026 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40A026 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5910B
Deuteranopia (green-blind)
#998933
Tritanopia (blue-blind)
#349B89
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #40a026; /* rgb */ color: rgb(64, 160, 38); /* oklch */ color: oklch(62.5% 0.180 140.0);
Tailwind
colors: {
custom: {
50: '#80bd69',
500: '#40a026',
950: '#000000',
},
}SCSS
$custom: #40a026; $custom-light: #80bd69; $custom-dark: #000000;
JSON
{
"hex": "#40a026",
"rgb": {
"r": 64,
"g": 160,
"b": 38
},
"hsl": {
"h": 107.213,
"s": 61.616,
"l": 38.824
},
"oklch": {
"l": 0.62467,
"c": 0.18011,
"h": 140
},
"luminance": 0.26372
}Semantic roles & 50–950 ramp
primary
#40A026
secondary
#AC61C0
accent
#43E5C2
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1207
muted
#7C817A