#405420 color
The hex color #405420 is a dark, desaturated yellow-green.
In the RGB color model it is made of 25.1% red, 32.9% green and 12.5% blue (64, 84, 32).
Its hue angle is 83°, with 45% saturation and 23% lightness. For print, the CMYK equivalent is 24% cyan, 0% magenta, 62% yellow and 67% black.
The closest named color is Army Green (#4B5320), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.38:1).
#405420 color codes
| HEX | #405420 | |
|---|---|---|
| RGB | rgb(64, 84, 32) | |
| RGB percent | rgb(25.1%, 32.9%, 12.5%) | |
| HSL | hsl(83, 45%, 23%) | |
| HSV / HSB | hsv(83, 62%, 33%) | |
| CMYK | cmyk(24%, 0%, 62%, 67%) | |
| CIE LAB | lab(32.99, -17.26, 27.41) | |
| CIE LCH | lch(32.99, 32.39, 122.19) | |
| CIE XYZ | xyz(5.545, 7.535, 2.528) | |
| Decimal | 4215840 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #405420, 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 #405420 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.51:1 | Fail | Fail | Fail |
| Sample text | 8.38:1 | Pass | Pass | Pass |
| #405420 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.38:1 | Pass | Pass | Pass |
| Sample text | 2.51: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 #405420 looks to people with the most common types of color vision deficiency.
#584e1bProtanopia
no red cones#554d23Deuteranopia
no green cones#425049Tritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #405420; }
.text { color: #405420; }
.border { border: 2px solid #405420; }
.transparent { background-color: rgb(64 84 32 / 50%); }
.gradient { background: linear-gradient(to right, #405420, #265420); }
Similar colors
#4b5320Army Green#2f4a15Treetop Cathedral#3c4d03Godzilla#445533Zen Garden Olive#335500Deep Forestial Escapade#415b36Turf#2f441fForestry#3e6334Greenhouse
Questions
- What color is #405420?
- #405420 is a dark, desaturated yellow-green, closest to the named color Army Green. It belongs to the green family of colors.
- What is the RGB value of #405420?
- The RGB value is 64, 84, 32: 64 red, 84 green and 32 blue on a 0 to 255 scale.
- What is the complementary color of #405420?
- The complementary color is #342054, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #405420?
- White text. Black text has a contrast ratio of 2.51:1 and white text 8.38:1. WCAG asks for at least 4.5:1 for normal text.