#405851 color
The hex color #405851 is a dark, grayish spring green.
In the RGB color model it is made of 25.1% red, 34.5% green and 31.8% blue (64, 88, 81).
Its hue angle is 162°, with 16% saturation and 30% lightness. For print, the CMYK equivalent is 27% cyan, 0% magenta, 8% yellow and 65% black.
The closest named color is Iridescent (#3A5B52), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.68:1).
#405851 color codes
| HEX | #405851 | |
|---|---|---|
| RGB | rgb(64, 88, 81) | |
| RGB percent | rgb(25.1%, 34.5%, 31.8%) | |
| HSL | hsl(162, 16%, 30%) | |
| HSV / HSB | hsv(162, 27%, 35%) | |
| CMYK | cmyk(27%, 0%, 8%, 65%) | |
| CIE LAB | lab(35.33, -10.77, 1.11) | |
| CIE LCH | lch(35.33, 10.83, 174.11) | |
| CIE XYZ | xyz(7.089, 8.663, 9.082) | |
| Decimal | 4216913 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405851, 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 #405851 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.73:1 | Fail | Fail | Fail |
| Sample text | 7.68:1 | Pass | Pass | Pass |
| #405851 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.68:1 | Pass | Pass | Pass |
| Sample text | 2.73: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 #405851 looks to people with the most common types of color vision deficiency.
#565551Protanopia
no red cones#525251Deuteranopia
no green cones#3a5956Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #405851; }
.text { color: #405851; }
.border { border: 2px solid #405851; }
.transparent { background-color: rgb(64 88 81 / 50%); }
.gradient { background: linear-gradient(to right, #405851, #405358); }
Similar colors
#3a5b52Iridescent#3e594cPlantation#33534bHunter#405e5cRosemary#315955Enchanting Ivy#3c4f4eNight Watch#334d41Pine Needle#3e5e4eEthereal Woods
Closest common color name: Dark Slate Gray.
Questions
- What color is #405851?
- #405851 is a dark, grayish spring green, closest to the named color Iridescent. It belongs to the gray family of colors.
- What is the RGB value of #405851?
- The RGB value is 64, 88, 81: 64 red, 88 green and 81 blue on a 0 to 255 scale.
- What is the complementary color of #405851?
- The complementary color is #584047, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405851?
- White text. Black text has a contrast ratio of 2.73:1 and white text 7.68:1. WCAG asks for at least 4.5:1 for normal text.