#405E42#405E42
#405E42 is a dark, muted green. Relative luminance 0.095; OKLCH L 45.0% C 0.057 H 146.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #405E42 |
|---|---|
| RGB | rgb(64, 94, 66) |
| HSL | hsl(124, 19%, 31%) |
| HSV | hsv(124, 32%, 37%) |
| CMYK | cmyk(31.9%, 0%, 29.8%, 63.1%) |
| CIE-LAB | lab(36.91, -17.47, 12.61) |
| CIE-LCH | lch(36.91, 21.55, 144.18°) |
| OKLab | oklab(44.99% -0.0477 0.032) |
| OKLCH | oklch(44.99% 0.057 146.2) |
| XYZ | xyz(7.1001, 9.4884, 6.6106) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.17
Pine
#2B5D34
ΔE00 5.37
Forest Green
#2D5A27
ΔE00 7.20
Spruce
#0A5F38
ΔE00 7.87
Dark Green Blue
#1F6357
ΔE00 9.52
Evergreen
#05472A
ΔE00 10.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405E42 #5E405C
analogous
#4D5E40 #405E42 #405E51
triadic
#405E42 #42405E #5E4240
tetradic
#405E42 #404D5E #5E405C #5E5140
square
#405E42 #404D5E #5E405C #5E5140
split-complementary
#405E42 #51405E #5E404D
monochromatic
#0E150F #273A28 #405E42 #59825C #76A279
Accessibility & contrast
On white
7.25
#405E42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#405E42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405E42
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405E42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405E42 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5940
Deuteranopia (green-blind)
#5A5644
Tritanopia (blue-blind)
#3D5C57
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #405e42; /* rgb */ color: rgb(64, 94, 66); /* oklch */ color: oklch(45.0% 0.057 146.2);
Tailwind
colors: {
custom: {
50: '#768c76',
500: '#405e42',
950: '#000000',
},
}SCSS
$custom: #405e42; $custom-light: #768c76; $custom-dark: #000000;
JSON
{
"hex": "#405e42",
"rgb": {
"r": 64,
"g": 94,
"b": 66
},
"hsl": {
"h": 124,
"s": 18.987,
"l": 30.98
},
"oklch": {
"l": 0.44992,
"c": 0.05747,
"h": 146.2
},
"luminance": 0.09489
}Semantic roles & 50–950 ramp
primary
#405E42
secondary
#8D6C8B
accent
#6CB6BC
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B