#403E28 color
The hex color #403E28 is a dark, grayish yellow.
In the RGB color model it is made of 25.1% red, 24.3% green and 15.7% blue (64, 62, 40).
Its hue angle is 55°, with 23% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 38% yellow and 75% black.
The closest named color is Madras (#473E23), a difference of 4.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 10.84:1).
#403E28 color codes
| HEX | #403E28 | |
|---|---|---|
| RGB | rgb(64, 62, 40) | |
| RGB percent | rgb(25.1%, 24.3%, 15.7%) | |
| HSL | hsl(55, 23%, 20%) | |
| HSV / HSB | hsv(55, 38%, 25%) | |
| CMYK | cmyk(0%, 3%, 38%, 75%) | |
| CIE LAB | lab(25.83, -3.24, 13.87) | |
| CIE LCH | lch(25.83, 14.24, 103.17) | |
| CIE XYZ | xyz(4.22, 4.689, 2.69) | |
| Decimal | 4210216 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403E28, 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 #403E28 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.94:1 | Fail | Fail | Fail |
| Sample text | 10.84:1 | Pass | Pass | Pass |
| #403E28 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.84:1 | Pass | Pass | Pass |
| Sample text | 1.94: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 #403E28 looks to people with the most common types of color vision deficiency.
#423c26Protanopia
no red cones#433e29Deuteranopia
no green cones#433b38Tritanopia
no blue cones#3d3d3dAchromatopsia
no color vision
CSS examples
.background { background-color: #403e28; }
.text { color: #403e28; }
.border { border: 2px solid #403e28; }
.transparent { background-color: rgb(64 62 40 / 50%); }
.gradient { background: linear-gradient(to right, #403e28, #364028); }
Similar colors
#473e23Madras#4e4b35Olive Leaf#4f4d32Jungle King#4d503cKelp#46473eHeavy Metal#393227Creole#3b3c36Black Olive#49463fWhiskey and Wine
Closest common color name: Onyx.
Questions
- What color is #403E28?
- #403E28 is a dark, grayish yellow, closest to the named color Madras. It belongs to the yellow family of colors.
- What is the RGB value of #403E28?
- The RGB value is 64, 62, 40: 64 red, 62 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #403E28?
- The complementary color is #282A40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403E28?
- White text. Black text has a contrast ratio of 1.94:1 and white text 10.84:1. WCAG asks for at least 4.5:1 for normal text.