#403A28 color
The hex color #403A28 is a dark, grayish yellow.
In the RGB color model it is made of 25.1% red, 22.7% green and 15.7% blue (64, 58, 40).
Its hue angle is 45°, with 23% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 38% yellow and 75% black.
The closest named color is Madras (#473E23), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.33:1).
#403A28 color codes
| HEX | #403A28 | |
|---|---|---|
| RGB | rgb(64, 58, 40) | |
| RGB percent | rgb(25.1%, 22.7%, 15.7%) | |
| HSL | hsl(45, 23%, 20%) | |
| HSV / HSB | hsv(45, 38%, 25%) | |
| CMYK | cmyk(0%, 9%, 38%, 75%) | |
| CIE LAB | lab(24.54, -0.68, 12.16) | |
| CIE LCH | lch(24.54, 12.18, 93.22) | |
| CIE XYZ | xyz(4.01, 4.269, 2.62) | |
| Decimal | 4209192 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403A28, 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 #403A28 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.85:1 | Fail | Fail | Fail |
| Sample text | 11.33:1 | Pass | Pass | Pass |
| #403A28 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.33:1 | Pass | Pass | Pass |
| Sample text | 1.85: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 #403A28 looks to people with the most common types of color vision deficiency.
#3e3927Protanopia
no red cones#3f3b29Deuteranopia
no green cones#443735Tritanopia
no blue cones#3a3a3aAchromatopsia
no color vision
CSS examples
.background { background-color: #403a28; }
.text { color: #403a28; }
.border { border: 2px solid #403a28; }
.transparent { background-color: rgb(64 58 40 / 50%); }
.gradient { background: linear-gradient(to right, #403a28, #3a4028); }
Similar colors
#473e23Madras#393227Creole#4e4b35Olive Leaf#45392fBatch Brew#483c32Taupe#4e3e1fAvocado Stone#3b3c36Black Olive#49463fWhiskey and Wine
Questions
- What color is #403A28?
- #403A28 is a dark, grayish yellow, closest to the named color Madras. It belongs to the gray family of colors.
- What is the RGB value of #403A28?
- The RGB value is 64, 58, 40: 64 red, 58 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #403A28?
- The complementary color is #282E40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403A28?
- White text. Black text has a contrast ratio of 1.85:1 and white text 11.33:1. WCAG asks for at least 4.5:1 for normal text.