#403C2F color
The hex color #403C2F is a dark, grayish yellow.
In the RGB color model it is made of 25.1% red, 23.5% green and 18.4% blue (64, 60, 47).
Its hue angle is 46°, with 15% saturation and 22% lightness. For print, the CMYK equivalent is 0% cyan, 6% magenta, 27% yellow and 75% black.
The closest named color is Creole (#393227), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.02:1).
#403C2F color codes
| HEX | #403C2F | |
|---|---|---|
| RGB | rgb(64, 60, 47) | |
| RGB percent | rgb(25.1%, 23.5%, 18.4%) | |
| HSL | hsl(46, 15%, 22%) | |
| HSV / HSB | hsv(46, 27%, 25%) | |
| CMYK | cmyk(0%, 6%, 27%, 75%) | |
| CIE LAB | lab(25.34, -0.83, 8.68) | |
| CIE LCH | lch(25.34, 8.72, 95.43) | |
| CIE XYZ | xyz(4.243, 4.527, 3.339) | |
| Decimal | 4209711 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403C2F, 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 #403C2F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.91:1 | Fail | Fail | Fail |
| Sample text | 11.02:1 | Pass | Pass | Pass |
| #403C2F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.02:1 | Pass | Pass | Pass |
| Sample text | 1.91: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 #403C2F looks to people with the most common types of color vision deficiency.
#3f3b2eProtanopia
no red cones#403d2fDeuteranopia
no green cones#433a38Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #403c2f; }
.text { color: #403c2f; }
.border { border: 2px solid #403c2f; }
.transparent { background-color: rgb(64 60 47 / 50%); }
.gradient { background: linear-gradient(to right, #403c2f, #3c402f); }
Similar colors
#393227Creole#3b3c36Black Olive#49463fWhiskey and Wine#44413cDeepest Nightmare#46473eHeavy Metal#483c32Taupe#45392fBatch Brew#473e23Madras
Questions
- What color is #403C2F?
- #403C2F is a dark, grayish yellow, closest to the named color Creole. It belongs to the gray family of colors.
- What is the RGB value of #403C2F?
- The RGB value is 64, 60, 47: 64 red, 60 green and 47 blue on a 0 to 255 scale.
- What is the complementary color of #403C2F?
- The complementary color is #2F3340, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403C2F?
- White text. Black text has a contrast ratio of 1.91:1 and white text 11.02:1. WCAG asks for at least 4.5:1 for normal text.