#504828 color
The hex color #504828 is a dark, desaturated yellow.
In the RGB color model it is made of 31.4% red, 28.2% green and 15.7% blue (80, 72, 40).
Its hue angle is 48°, with 33% saturation and 24% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 50% yellow and 69% black.
The closest named color is Madras (#473E23), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 9.14:1).
#504828 color codes
| HEX | #504828 | |
|---|---|---|
| RGB | rgb(80, 72, 40) | |
| RGB percent | rgb(31.4%, 28.2%, 15.7%) | |
| HSL | hsl(48, 33%, 24%) | |
| HSV / HSB | hsv(48, 50%, 31%) | |
| CMYK | cmyk(0%, 10%, 50%, 69%) | |
| CIE LAB | lab(30.63, -1.79, 20.36) | |
| CIE LCH | lch(30.63, 20.44, 95.02) | |
| CIE XYZ | xyz(6.009, 6.494, 2.944) | |
| Decimal | 5261352 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #504828, 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 #504828 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.3:1 | Fail | Fail | Fail |
| Sample text | 9.14:1 | Pass | Pass | Pass |
| #504828 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.14:1 | Pass | Pass | Pass |
| Sample text | 2.3: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 #504828 looks to people with the most common types of color vision deficiency.
#4e4725Protanopia
no red cones#504929Deuteranopia
no green cones#564440Tritanopia
no blue cones#484848Achromatopsia
no color vision
CSS examples
.background { background-color: #504828; }
.text { color: #504828; }
.border { border: 2px solid #504828; }
.transparent { background-color: rgb(80 72 40 / 50%); }
.gradient { background: linear-gradient(to right, #504828, #445028); }
Similar colors
#473e23Madras#4f4d32Jungle King#4e4b35Olive Leaf#5f5537Olive Bark#4e3e1fAvocado Stone#444411Alligator Gladiator#5e582bReptile Revenge#4d503cKelp
Closest common color name: Army Green.
Questions
- What color is #504828?
- #504828 is a dark, desaturated yellow, closest to the named color Madras. It belongs to the brown family of colors.
- What is the RGB value of #504828?
- The RGB value is 80, 72, 40: 80 red, 72 green and 40 blue on a 0 to 255 scale.
- What is the complementary color of #504828?
- The complementary color is #283050, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #504828?
- White text. Black text has a contrast ratio of 2.3:1 and white text 9.14:1. WCAG asks for at least 4.5:1 for normal text.