#404A38 color
The hex color #404A38 is a dark, grayish green.
In the RGB color model it is made of 25.1% red, 29% green and 22% blue (64, 74, 56).
Its hue angle is 93°, with 14% saturation and 25% lightness. For print, the CMYK equivalent is 14% cyan, 0% magenta, 24% yellow and 71% black.
The closest named color is Hōjicha (#424F3B), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.31:1).
#404A38 color codes
| HEX | #404A38 | |
|---|---|---|
| RGB | rgb(64, 74, 56) | |
| RGB percent | rgb(25.1%, 29%, 22%) | |
| HSL | hsl(93, 14%, 25%) | |
| HSV / HSB | hsv(93, 24%, 29%) | |
| CMYK | cmyk(14%, 0%, 24%, 71%) | |
| CIE LAB | lab(30.09, -7.93, 9.44) | |
| CIE LCH | lch(30.09, 12.33, 130.01) | |
| CIE XYZ | xyz(5.277, 6.273, 4.673) | |
| Decimal | 4213304 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404A38, 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 #404A38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.31:1 | Pass | Pass | Pass |
| #404A38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.31:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #404A38 looks to people with the most common types of color vision deficiency.
#4c4737Protanopia
no red cones#4a4739Deuteranopia
no green cones#404845Tritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #404a38; }
.text { color: #404a38; }
.border { border: 2px solid #404a38; }
.transparent { background-color: rgb(64 74 56 / 50%); }
.gradient { background: linear-gradient(to right, #404a38, #384a39); }
Similar colors
#424f3bHōjicha#394c3bMountain View#4d503cKelp#36482fPalm Leaf#4b5338Broccoli Green#3c463eDeep Forest#444b43Ancient Pine#49583eHeavy Green
Closest common color name: Ebony.
Questions
- What color is #404A38?
- #404A38 is a dark, grayish green, closest to the named color Hōjicha. It belongs to the gray family of colors.
- What is the RGB value of #404A38?
- The RGB value is 64, 74, 56: 64 red, 74 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #404A38?
- The complementary color is #42384A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404A38?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.31:1. WCAG asks for at least 4.5:1 for normal text.