#405D2E color
The hex color #405D2E is a dark, desaturated green.
In the RGB color model it is made of 25.1% red, 36.5% green and 18% blue (64, 93, 46).
Its hue angle is 97°, with 34% saturation and 27% lightness. For print, the CMYK equivalent is 31% cyan, 0% magenta, 51% yellow and 64% black.
The closest named color is Greenhouse (#3E6334), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.44:1).
#405D2E color codes
| HEX | #405D2E | |
|---|---|---|
| RGB | rgb(64, 93, 46) | |
| RGB percent | rgb(25.1%, 36.5%, 18%) | |
| HSL | hsl(97, 34%, 27%) | |
| HSV / HSB | hsv(97, 51%, 36%) | |
| CMYK | cmyk(31%, 0%, 51%, 64%) | |
| CIE LAB | lab(36.21, -20.33, 23.52) | |
| CIE LCH | lch(36.21, 31.09, 130.83) | |
| CIE XYZ | xyz(6.522, 9.116, 4) | |
| Decimal | 4218158 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405D2E, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #405D2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44:1 | Pass | Pass | Pass |
| #405D2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.44:1 | Pass | Pass | Pass |
| Sample text | 2.82:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #405D2E looks to people with the most common types of color vision deficiency.
#60572aProtanopia
no red cones#5c5431Deuteranopia
no green cones#405a52Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #405d2e; }
.text { color: #405d2e; }
.border { border: 2px solid #405d2e; }
.transparent { background-color: rgb(64 93 46 / 50%); }
.gradient { background: linear-gradient(to right, #405d2e, #2e5d33); }
Similar colors
#3e6334Greenhouse#415b36Turf#445533Zen Garden Olive#3c663eJurassic Park#3b593aFicus#355e3bHunter Green#2b5d34Pine#54682bBimi Green
Questions
- What color is #405D2E?
- #405D2E is a dark, desaturated green, closest to the named color Greenhouse. It belongs to the green family of colors.
- What is the RGB value of #405D2E?
- The RGB value is 64, 93, 46: 64 red, 93 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #405D2E?
- The complementary color is #4B2E5D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405D2E?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.