#405E40#405E40
#405E40 is a dark, muted green. Relative luminance 0.095; OKLCH L 44.9% C 0.060 H 144.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #405E40 |
|---|---|
| RGB | rgb(64, 94, 64) |
| HSL | hsl(120, 19%, 31%) |
| HSV | hsv(120, 32%, 37%) |
| CMYK | cmyk(31.9%, 0%, 31.9%, 63.1%) |
| CIE-LAB | lab(36.87, -17.86, 13.77) |
| CIE-LCH | lch(36.87, 22.55, 142.37°) |
| OKLab | oklab(44.94% -0.0487 0.0348) |
| OKLCH | oklch(44.94% 0.06 144.5) |
| XYZ | xyz(7.0422, 9.4653, 6.3054) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.80
Pine
#2B5D34
ΔE00 4.96
Forest Green
#2D5A27
ΔE00 6.61
Spruce
#0A5F38
ΔE00 7.71
Darkolivegreen
#556B2F
ΔE00 9.86
Dark Green Blue
#1F6357
ΔE00 10.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405E40 #5E405E
analogous
#4F5E40 #405E40 #405E4F
triadic
#405E40 #40405E #5E4040
tetradic
#405E40 #404F5E #5E405E #5E4F40
square
#405E40 #404F5E #5E405E #5E4F40
split-complementary
#405E40 #4F405E #5E404F
monochromatic
#0E150E #273A27 #405E40 #598259 #76A276
Accessibility & contrast
On white
7.26
#405E40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#405E40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405E40
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405E40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405E40 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F593E
Deuteranopia (green-blind)
#5B5642
Tritanopia (blue-blind)
#3D5C56
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #405e40; /* rgb */ color: rgb(64, 94, 64); /* oklch */ color: oklch(44.9% 0.060 144.5);
Tailwind
colors: {
custom: {
50: '#768c75',
500: '#405e40',
950: '#000000',
},
}SCSS
$custom: #405e40; $custom-light: #768c75; $custom-dark: #000000;
JSON
{
"hex": "#405e40",
"rgb": {
"r": 64,
"g": 94,
"b": 64
},
"hsl": {
"h": 120,
"s": 18.987,
"l": 30.98
},
"oklch": {
"l": 0.44943,
"c": 0.05988,
"h": 144.5
},
"luminance": 0.09466
}Semantic roles & 50–950 ramp
primary
#405E40
secondary
#8D6C8D
accent
#6CBCBC
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B