#504E38 color
The hex color #504E38 is a dark, grayish yellow.
In the RGB color model it is made of 31.4% red, 30.6% green and 22% blue (80, 78, 56).
Its hue angle is 55°, with 18% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 30% yellow and 69% black.
The closest named color is Olive Leaf (#4E4B35), a difference of 1.1 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.44:1).
#504E38 color codes
| HEX | #504E38 | |
|---|---|---|
| RGB | rgb(80, 78, 56) | |
| RGB percent | rgb(31.4%, 30.6%, 22%) | |
| HSL | hsl(55, 18%, 27%) | |
| HSV / HSB | hsv(55, 30%, 31%) | |
| CMYK | cmyk(0%, 2%, 30%, 69%) | |
| CIE LAB | lab(32.79, -3.27, 13.36) | |
| CIE LCH | lch(32.79, 13.76, 103.76) | |
| CIE XYZ | xyz(6.746, 7.44, 4.821) | |
| Decimal | 5262904 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504E38, 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 #504E38 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.49:1 | Fail | Fail | Fail |
| Sample text | 8.44:1 | Pass | Pass | Pass |
| #504E38 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.44:1 | Pass | Pass | Pass |
| Sample text | 2.49: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 #504E38 looks to people with the most common types of color vision deficiency.
#524c37Protanopia
no red cones#534e39Deuteranopia
no green cones#544b48Tritanopia
no blue cones#4d4d4dAchromatopsia
no color vision
CSS examples
.background { background-color: #504e38; }
.text { color: #504e38; }
.border { border: 2px solid #504e38; }
.transparent { background-color: rgb(80 78 56 / 50%); }
.gradient { background: linear-gradient(to right, #504e38, #465038); }
Similar colors
#4e4b35Olive Leaf#4f4d32Jungle King#4d503cKelp#4b5338Broccoli Green#5f5537Olive Bark#595d45Tree of Life#46473eHeavy Metal#585d40Cypress
Closest common color name: Ebony.
Questions
- What color is #504E38?
- #504E38 is a dark, grayish yellow, closest to the named color Olive Leaf. It belongs to the yellow family of colors.
- What is the RGB value of #504E38?
- The RGB value is 80, 78, 56: 80 red, 78 green and 56 blue on a 0 to 255 scale.
- What is the complementary color of #504E38?
- The complementary color is #383A50, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504E38?
- White text. Black text has a contrast ratio of 2.49:1 and white text 8.44:1. WCAG asks for at least 4.5:1 for normal text.