#406545 color
The hex color #406545 is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 39.6% green and 27.1% blue (64, 101, 69).
Its hue angle is 128°, with 22% saturation and 32% lightness. For print, the CMYK equivalent is 37% cyan, 0% magenta, 32% yellow and 60% black.
The closest named color is Jurassic Park (#3C663E), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.63:1).
#406545 color codes
| HEX | #406545 | |
|---|---|---|
| RGB | rgb(64, 101, 69) | |
| RGB percent | rgb(25.1%, 39.6%, 27.1%) | |
| HSL | hsl(128, 22%, 32%) | |
| HSV / HSB | hsv(128, 37%, 40%) | |
| CMYK | cmyk(37%, 0%, 32%, 60%) | |
| CIE LAB | lab(39.29, -20.64, 14.05) | |
| CIE LCH | lch(39.29, 24.97, 145.75) | |
| CIE XYZ | xyz(7.842, 10.827, 7.306) | |
| Decimal | 4220229 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #406545, 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 #406545 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.17:1 | Fail | Fail | Pass |
| Sample text | 6.63:1 | Pass | Fail | Pass |
| #406545 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.63:1 | Pass | Fail | Pass |
| Sample text | 3.17:1 | Fail | Fail | Pass |
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 #406545 looks to people with the most common types of color vision deficiency.
#665f43Protanopia
no red cones#605b47Deuteranopia
no green cones#3b635dTritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #406545; }
.text { color: #406545; }
.border { border: 2px solid #406545; }
.transparent { background-color: rgb(64 101 69 / 50%); }
.gradient { background: linear-gradient(to right, #406545, #406558); }
Similar colors
#3c663eJurassic Park#336644Forest Serenade#355e3bHunter Green#3a5f49Herbes de Provence#2a603bMidori#3b593aFicus#3d7049Parsley Sprig#3d6c54Toad King
Questions
- What color is #406545?
- #406545 is a dark, grayish green, closest to the named color Jurassic Park. It belongs to the green family of colors.
- What is the RGB value of #406545?
- The RGB value is 64, 101, 69: 64 red, 101 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #406545?
- The complementary color is #654060, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #406545?
- White text. Black text has a contrast ratio of 3.17:1 and white text 6.63:1. WCAG asks for at least 4.5:1 for normal text.