#504E40 color
The hex color #504E40 is a dark, grayish yellow.
In the RGB color model it is made of 31.4% red, 30.6% green and 25.1% blue (80, 78, 64).
Its hue angle is 53°, with 11% saturation and 28% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 20% yellow and 69% black.
The closest named color is Olive Leaf (#4E4B35), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.38:1).
#504E40 color codes
| HEX | #504E40 | |
|---|---|---|
| RGB | rgb(80, 78, 64) | |
| RGB percent | rgb(31.4%, 30.6%, 25.1%) | |
| HSL | hsl(53, 11%, 28%) | |
| HSV / HSB | hsv(53, 20%, 31%) | |
| CMYK | cmyk(0%, 2%, 20%, 69%) | |
| CIE LAB | lab(32.97, -1.92, 8.6) | |
| CIE LCH | lch(32.97, 8.81, 102.61) | |
| CIE XYZ | xyz(6.958, 7.525, 5.935) | |
| Decimal | 5262912 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504E40, 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 #504E40 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.5:1 | Fail | Fail | Fail |
| Sample text | 8.38:1 | Pass | Pass | Pass |
| #504E40 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.38:1 | Pass | Pass | Pass |
| Sample text | 2.5: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 #504E40 looks to people with the most common types of color vision deficiency.
#514d3fProtanopia
no red cones#524e40Deuteranopia
no green cones#534c4aTritanopia
no blue cones#4e4e4eAchromatopsia
no color vision
CSS examples
.background { background-color: #504e40; }
.text { color: #504e40; }
.border { border: 2px solid #504e40; }
.transparent { background-color: rgb(80 78 64 / 50%); }
.gradient { background: linear-gradient(to right, #504e40, #4a5040); }
Similar colors
#4e4b35Olive Leaf#46473eHeavy Metal#4d503cKelp#57534bMasala#49463fWhiskey and Wine#4f4e4aSubterrain Kingdom#4f4d32Jungle King#484a46Armadillo
Closest common color name: Ebony.
Questions
- What color is #504E40?
- #504E40 is a dark, grayish yellow, closest to the named color Olive Leaf. It belongs to the gray family of colors.
- What is the RGB value of #504E40?
- The RGB value is 80, 78, 64: 80 red, 78 green and 64 blue on a 0 to 255 scale.
- What is the complementary color of #504E40?
- The complementary color is #404250, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504E40?
- White text. Black text has a contrast ratio of 2.5:1 and white text 8.38:1. WCAG asks for at least 4.5:1 for normal text.