#404130 color
The hex color #404130 is a dark, grayish yellow.
In the RGB color model it is made of 25.1% red, 25.5% green and 18.8% blue (64, 65, 48).
Its hue angle is 64°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 26% yellow and 75% black.
The closest named color is Heavy Metal (#46473E), a difference of 4.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.41:1).
#404130 color codes
| HEX | #404130 | |
|---|---|---|
| RGB | rgb(64, 65, 48) | |
| RGB percent | rgb(25.1%, 25.5%, 18.8%) | |
| HSL | hsl(64, 15%, 22%) | |
| HSV / HSB | hsv(64, 26%, 25%) | |
| CMYK | cmyk(2%, 0%, 26%, 75%) | |
| CIE LAB | lab(26.97, -3.84, 10.27) | |
| CIE LCH | lch(26.97, 10.96, 110.48) | |
| CIE XYZ | xyz(4.538, 5.084, 3.538) | |
| Decimal | 4210992 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #404130, 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 #404130 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.02:1 | Fail | Fail | Fail |
| Sample text | 10.41:1 | Pass | Pass | Pass |
| #404130 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.41:1 | Pass | Pass | Pass |
| Sample text | 2.02: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 #404130 looks to people with the most common types of color vision deficiency.
#443f2fProtanopia
no red cones#444031Deuteranopia
no green cones#423f3cTritanopia
no blue cones#404040Achromatopsia
no color vision
CSS examples
.background { background-color: #404130; }
.text { color: #404130; }
.border { border: 2px solid #404130; }
.transparent { background-color: rgb(64 65 48 / 50%); }
.gradient { background: linear-gradient(to right, #404130, #384130); }
Similar colors
#46473eHeavy Metal#4e4b35Olive Leaf#4d503cKelp#4f4d32Jungle King#3b3c36Black Olive#444b43Ancient Pine#3c463eDeep Forest#49463fWhiskey and Wine
Closest common color name: Onyx.
Questions
- What color is #404130?
- #404130 is a dark, grayish yellow, closest to the named color Heavy Metal. It belongs to the gray family of colors.
- What is the RGB value of #404130?
- The RGB value is 64, 65, 48: 64 red, 65 green and 48 blue on a 0 to 255 scale.
- What is the complementary color of #404130?
- The complementary color is #313041, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #404130?
- White text. Black text has a contrast ratio of 2.02:1 and white text 10.41:1. WCAG asks for at least 4.5:1 for normal text.