#504C40 color
The hex color #504C40 is a dark, grayish yellow.
In the RGB color model it is made of 31.4% red, 29.8% green and 25.1% blue (80, 76, 64).
Its hue angle is 45°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 5% magenta, 20% yellow and 69% black.
The closest named color is Whiskey and Wine (#49463F), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.58:1).
#504C40 color codes
| HEX | #504C40 | |
|---|---|---|
| RGB | rgb(80, 76, 64) | |
| RGB percent | rgb(31.4%, 29.8%, 25.1%) | |
| HSL | hsl(45, 11%, 28%) | |
| HSV / HSB | hsv(45, 20%, 31%) | |
| CMYK | cmyk(0%, 5%, 20%, 69%) | |
| CIE LAB | lab(32.36, -0.69, 7.74) | |
| CIE LCH | lch(32.36, 7.77, 95.06) | |
| CIE XYZ | xyz(6.818, 7.245, 5.889) | |
| Decimal | 5262400 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504C40, 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 #504C40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.58:1 | Pass | Pass | Pass |
| #504C40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.58:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #504C40 looks to people with the most common types of color vision deficiency.
#4f4b3fProtanopia
no red cones#504d40Deuteranopia
no green cones#534a49Tritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #504c40; }
.text { color: #504c40; }
.border { border: 2px solid #504c40; }
.transparent { background-color: rgb(80 76 64 / 50%); }
.gradient { background: linear-gradient(to right, #504c40, #4c5040); }
Similar colors
#49463fWhiskey and Wine#57534bMasala#46473eHeavy Metal#4f4e4aSubterrain Kingdom#4e4b35Olive Leaf#484a46Armadillo#44413cDeepest Nightmare#565350Heavy Charcoal
Closest common color name: Taupe.
Questions
- What color is #504C40?
- #504C40 is a dark, grayish yellow, closest to the named color Whiskey and Wine. It belongs to the gray family of colors.
- What is the RGB value of #504C40?
- The RGB value is 80, 76, 64: 80 red, 76 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #504C40?
- The complementary color is #404450, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504C40?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.58:1. WCAG asks for at least 4.5:1 for normal text.