#405C38#405C38
#405C38 is a dark, moderate green. Relative luminance 0.090; OKLCH L 44.2% C 0.066 H 138.9°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #405C38 |
|---|---|
| RGB | rgb(64, 92, 56) |
| HSL | hsl(107, 24%, 29%) |
| HSV | hsv(107, 39%, 36%) |
| CMYK | cmyk(30.4%, 0%, 39.1%, 63.9%) |
| CIE-LAB | lab(36.04, -18.23, 17.48) |
| CIE-LCH | lch(36.04, 25.26, 136.21°) |
| OKLab | oklab(44.22% -0.0498 0.0435) |
| OKLCH | oklch(44.22% 0.066 138.9) |
| XYZ | xyz(6.6551, 9.0296, 5.1328) |
| Luminance | 0.0903 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.10
Pine
#2B5D34
ΔE00 4.53
Forest Green
#2D5A27
ΔE00 5.06
Spruce
#0A5F38
ΔE00 7.99
Darkolivegreen
#556B2F
ΔE00 8.51
Camo Green
#526525
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#405C38 #54385C
analogous
#525C38 #405C38 #385C42
triadic
#405C38 #38405C #5C3840
tetradic
#405C38 #38525C #54385C #5C4238
square
#405C38 #38525C #54385C #5C4238
split-complementary
#405C38 #42385C #5C3852
monochromatic
#0D130C #263621 #405C38 #5A824F #77A46A
Accessibility & contrast
On white
7.48
#405C38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#405C38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #405C38
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##405C38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##405C38 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5636
Deuteranopia (green-blind)
#5A543A
Tritanopia (blue-blind)
#3F5A53
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #405c38; /* rgb */ color: rgb(64, 92, 56); /* oklch */ color: oklch(44.2% 0.066 138.9);
Tailwind
colors: {
custom: {
50: '#768a6f',
500: '#405c38',
950: '#000000',
},
}SCSS
$custom: #405c38; $custom-light: #768a6f; $custom-dark: #000000;
JSON
{
"hex": "#405c38",
"rgb": {
"r": 64,
"g": 92,
"b": 56
},
"hsl": {
"h": 106.667,
"s": 24.324,
"l": 29.02
},
"oklch": {
"l": 0.44225,
"c": 0.06606,
"h": 138.9
},
"luminance": 0.0903
}Semantic roles & 50–950 ramp
primary
#405C38
secondary
#83638C
accent
#67C1AD
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#080B07
muted
#7B7C7A