#504D3B color
The hex color #504D3B is a dark, grayish yellow.
In the RGB color model it is made of 31.4% red, 30.2% green and 23.1% blue (80, 77, 59).
Its hue angle is 51°, with 15% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 26% yellow and 69% black.
The closest named color is Olive Leaf (#4E4B35), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.52:1).
#504D3B color codes
| HEX | #504D3B | |
|---|---|---|
| RGB | rgb(80, 77, 59) | |
| RGB percent | rgb(31.4%, 30.2%, 23.1%) | |
| HSL | hsl(51, 15%, 27%) | |
| HSV / HSB | hsv(51, 26%, 31%) | |
| CMYK | cmyk(0%, 4%, 26%, 69%) | |
| CIE LAB | lab(32.54, -2.17, 11.15) | |
| CIE LCH | lch(32.54, 11.36, 101.01) | |
| CIE XYZ | xyz(6.752, 7.329, 5.196) | |
| Decimal | 5262651 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504D3B, 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 #504D3B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.47:1 | Fail | Fail | Fail |
| Sample text | 8.52:1 | Pass | Pass | Pass |
| #504D3B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.52:1 | Pass | Pass | Pass |
| Sample text | 2.47: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 #504D3B looks to people with the most common types of color vision deficiency.
#514c3aProtanopia
no red cones#524d3cDeuteranopia
no green cones#534a48Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #504d3b; }
.text { color: #504d3b; }
.border { border: 2px solid #504d3b; }
.transparent { background-color: rgb(80 77 59 / 50%); }
.gradient { background: linear-gradient(to right, #504d3b, #49503b); }
Similar colors
#4e4b35Olive Leaf#4d503cKelp#4f4d32Jungle King#46473eHeavy Metal#57534bMasala#49463fWhiskey and Wine#5f5537Olive Bark#473e23Madras
Closest common color name: Ebony.
Questions
- What color is #504D3B?
- #504D3B 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 #504D3B?
- The RGB value is 80, 77, 59: 80 red, 77 green and 59 blue on a 0 to 255 scale.
- What is the complementary color of #504D3B?
- The complementary color is #3B3E50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504D3B?
- White text. Black text has a contrast ratio of 2.47:1 and white text 8.52:1. WCAG asks for at least 4.5:1 for normal text.