#403D27 color
The hex color #403D27 is a dark, grayish yellow.
In the RGB color model it is made of 25.1% red, 23.9% green and 15.3% blue (64, 61, 39).
Its hue angle is 53°, with 24% saturation and 20% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 39% 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 10.97:1).
#403D27 color codes
| HEX | #403D27 | |
|---|---|---|
| RGB | rgb(64, 61, 39) | |
| RGB percent | rgb(25.1%, 23.9%, 15.3%) | |
| HSL | hsl(53, 24%, 20%) | |
| HSV / HSB | hsv(53, 39%, 25%) | |
| CMYK | cmyk(0%, 5%, 39%, 75%) | |
| CIE LAB | lab(25.49, -2.76, 14.06) | |
| CIE LCH | lch(25.49, 14.32, 101.11) | |
| CIE XYZ | xyz(4.149, 4.574, 2.583) | |
| Decimal | 4209959 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #403D27, 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 #403D27 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.91:1 | Fail | Fail | Fail |
| Sample text | 10.97:1 | Pass | Pass | Pass |
| #403D27 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 10.97: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 #403D27 looks to people with the most common types of color vision deficiency.
#413c25Protanopia
no red cones#423d28Deuteranopia
no green cones#443a37Tritanopia
no blue cones#3c3c3cAchromatopsia
no color vision
CSS examples
.background { background-color: #403d27; }
.text { color: #403d27; }
.border { border: 2px solid #403d27; }
.transparent { background-color: rgb(64 61 39 / 50%); }
.gradient { background: linear-gradient(to right, #403d27, #374027); }
Similar colors
#473e23Madras#4e4b35Olive Leaf#4f4d32Jungle King#393227Creole#4d503cKelp#46473eHeavy Metal#4e3e1fAvocado Stone#3b3c36Black Olive
Closest common color name: Onyx.
Questions
- What color is #403D27?
- #403D27 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 #403D27?
- The RGB value is 64, 61, 39: 64 red, 61 green and 39 blue on a 0 to 255 scale.
- What is the complementary color of #403D27?
- The complementary color is #272A40, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #403D27?
- White text. Black text has a contrast ratio of 1.91:1 and white text 10.97:1. WCAG asks for at least 4.5:1 for normal text.