#405A3F color
The hex color #405A3F is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 35.3% green and 24.7% blue (64, 90, 63).
Its hue angle is 118°, with 18% saturation and 30% lightness. For print, the CMYK equivalent is 29% cyan, 0% magenta, 30% yellow and 65% black.
The closest named color is Ficus (#3B593A), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.63:1).
#405A3F color codes
| HEX | #405A3F | |
|---|---|---|
| RGB | rgb(64, 90, 63) | |
| RGB percent | rgb(25.1%, 35.3%, 24.7%) | |
| HSL | hsl(118, 18%, 30%) | |
| HSV / HSB | hsv(118, 30%, 35%) | |
| CMYK | cmyk(29%, 0%, 30%, 65%) | |
| CIE LAB | lab(35.52, -15.86, 12.55) | |
| CIE LCH | lch(35.52, 20.22, 141.65) | |
| CIE XYZ | xyz(6.667, 8.761, 6.041) | |
| Decimal | 4217407 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405A3F, 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 #405A3F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.75:1 | Fail | Fail | Fail |
| Sample text | 7.63:1 | Pass | Pass | Pass |
| #405A3F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.63:1 | Pass | Pass | Pass |
| Sample text | 2.75: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 #405A3F looks to people with the most common types of color vision deficiency.
#5b553dProtanopia
no red cones#575340Deuteranopia
no green cones#3e5853Tritanopia
no blue cones#545454Achromatopsia
no color vision
CSS examples
.background { background-color: #405a3f; }
.text { color: #405a3f; }
.border { border: 2px solid #405a3f; }
.transparent { background-color: rgb(64 90 63 / 50%); }
.gradient { background: linear-gradient(to right, #405a3f, #3f5a4c); }
Similar colors
#3b593aFicus#3a533dHighlander#415b36Turf#4b5d46Muddy Olive#49583eHeavy Green#3a5f49Herbes de Provence#355e3bHunter Green#445533Zen Garden Olive
Questions
- What color is #405A3F?
- #405A3F is a dark, grayish green, closest to the named color Ficus. It belongs to the green family of colors.
- What is the RGB value of #405A3F?
- The RGB value is 64, 90, 63: 64 red, 90 green and 63 blue on a 0 to 255 scale.
- What is the complementary color of #405A3F?
- The complementary color is #593F5A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405A3F?
- White text. Black text has a contrast ratio of 2.75:1 and white text 7.63:1. WCAG asks for at least 4.5:1 for normal text.