#405039 color
The hex color #405039 is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 31.4% green and 22.4% blue (64, 80, 57).
Its hue angle is 102°, with 17% saturation and 27% lightness. For print, the CMYK equivalent is 20% cyan, 0% magenta, 29% yellow and 69% black.
The closest named color is Hōjicha (#424F3B), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.66:1).
#405039 color codes
| HEX | #405039 | |
|---|---|---|
| RGB | rgb(64, 80, 57) | |
| RGB percent | rgb(25.1%, 31.4%, 22.4%) | |
| HSL | hsl(102, 17%, 27%) | |
| HSV / HSB | hsv(102, 29%, 31%) | |
| CMYK | cmyk(20%, 0%, 29%, 69%) | |
| CIE LAB | lab(32.08, -11.3, 11.56) | |
| CIE LCH | lch(32.08, 16.17, 134.37) | |
| CIE XYZ | xyz(5.721, 7.123, 4.943) | |
| Decimal | 4214841 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405039, 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 #405039 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.42:1 | Fail | Fail | Fail |
| Sample text | 8.66:1 | Pass | Pass | Pass |
| #405039 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.66:1 | Pass | Pass | Pass |
| Sample text | 2.42: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 #405039 looks to people with the most common types of color vision deficiency.
#524c38Protanopia
no red cones#4f4b3aDeuteranopia
no green cones#404e4aTritanopia
no blue cones#4b4b4bAchromatopsia
no color vision
CSS examples
.background { background-color: #405039; }
.text { color: #405039; }
.border { border: 2px solid #405039; }
.transparent { background-color: rgb(64 80 57 / 50%); }
.gradient { background: linear-gradient(to right, #405039, #39503e); }
Similar colors
#424f3bHōjicha#49583eHeavy Green#394c3bMountain View#36482fPalm Leaf#3a533dHighlander#4b5338Broccoli Green#445533Zen Garden Olive#4b5d46Muddy Olive
Closest common color name: Ebony.
Questions
- What color is #405039?
- #405039 is a dark, grayish green, closest to the named color Hōjicha. It belongs to the green family of colors.
- What is the RGB value of #405039?
- The RGB value is 64, 80, 57: 64 red, 80 green and 57 blue on a 0 to 255 scale.
- What is the complementary color of #405039?
- The complementary color is #493950, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405039?
- White text. Black text has a contrast ratio of 2.42:1 and white text 8.66:1. WCAG asks for at least 4.5:1 for normal text.