#405638#405638
#405638 is a dark, muted green. Relative luminance 0.080; OKLCH L 42.6% C 0.055 H 137.6°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #405638 |
|---|---|
| RGB | rgb(64, 86, 56) |
| HSL | hsl(104, 21%, 28%) |
| HSV | hsv(104, 35%, 34%) |
| CMYK | cmyk(25.6%, 0%, 34.9%, 66.3%) |
| CIE-LAB | lab(34.05, -14.93, 14.83) |
| CIE-LCH | lch(34.05, 21.04, 135.19°) |
| OKLab | oklab(42.62% -0.0407 0.0372) |
| OKLCH | oklch(42.62% 0.055 137.6) |
| XYZ | xyz(6.1558, 8.0309, 4.9664) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.96
Pine
#2B5D34
ΔE00 6.45
Forest Green
#2D5A27
ΔE00 6.91
Spruce
#0A5F38
ΔE00 9.52
Pine Green
#0A481E
ΔE00 9.65
Navy Green
#35530A
ΔE00 9.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405638 #4E3856
analogous
#4F5638 #405638 #38563F
triadic
#405638 #384056 #563840
tetradic
#405638 #384F56 #4E3856 #563F38
square
#405638 #384F56 #4E3856 #563F38
split-complementary
#405638 #3F3856 #56384F
monochromatic
#0E130C #243120 #405638 #5C7B50 #789E6A
Accessibility & contrast
On white
8.06
#405638 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#405638 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405638
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405638 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405638 | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585136
Deuteranopia (green-blind)
#554F3A
Tritanopia (blue-blind)
#3F544E
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #405638; /* rgb */ color: rgb(64, 86, 56); /* oklch */ color: oklch(42.6% 0.055 137.6);
Tailwind
colors: {
custom: {
50: '#75856f',
500: '#405638',
950: '#000000',
},
}SCSS
$custom: #405638; $custom-light: #75856f; $custom-dark: #000000;
JSON
{
"hex": "#405638",
"rgb": {
"r": 64,
"g": 86,
"b": 56
},
"hsl": {
"h": 104,
"s": 21.127,
"l": 27.843
},
"oklch": {
"l": 0.42618,
"c": 0.0551,
"h": 137.6
},
"luminance": 0.08031
}Semantic roles & 50–950 ramp
primary
#405638
secondary
#7D6486
accent
#6ABEA7
background
#F7F8F6
surface
#EDEFEC
border
#C8CAC7
text
#080B07
muted
#7B7C7A