#505221 color
The hex color #505221 is a dark, desaturated yellow.
In the RGB color model it is made of 31.4% red, 32.2% green and 12.9% blue (80, 82, 33).
Its hue angle is 62°, with 43% saturation and 23% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 60% yellow and 68% black.
The closest named color is Army Green (#4B5320), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.17:1).
#505221 color codes
| HEX | #505221 | |
|---|---|---|
| RGB | rgb(80, 82, 33) | |
| RGB percent | rgb(31.4%, 32.2%, 12.9%) | |
| HSL | hsl(62, 43%, 23%) | |
| HSV / HSB | hsv(62, 60%, 32%) | |
| CMYK | cmyk(2%, 0%, 60%, 68%) | |
| CIE LAB | lab(33.67, -8.57, 28) | |
| CIE LCH | lch(33.67, 29.28, 107.03) | |
| CIE XYZ | xyz(6.6, 7.85, 2.606) | |
| Decimal | 5263905 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505221, 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 #505221 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.17:1 | Pass | Pass | Pass |
| #505221 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.17:1 | Pass | Pass | Pass |
| Sample text | 2.57: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 #505221 looks to people with the most common types of color vision deficiency.
#584e1cProtanopia
no red cones#585024Deuteranopia
no green cones#554d47Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #505221; }
.text { color: #505221; }
.border { border: 2px solid #505221; }
.transparent { background-color: rgb(80 82 33 / 50%); }
.gradient { background: linear-gradient(to right, #505221, #375221); }
Similar colors
#4b5320Army Green#5e582bReptile Revenge#444411Alligator Gladiator#404404Green Not Found#3c4d03Godzilla#4f4d32Jungle King#4b5338Broccoli Green#585d40Cypress
Questions
- What color is #505221?
- #505221 is a dark, desaturated yellow, closest to the named color Army Green. It belongs to the yellow family of colors.
- What is the RGB value of #505221?
- The RGB value is 80, 82, 33: 80 red, 82 green and 33 blue on a 0 to 255 scale.
- What is the complementary color of #505221?
- The complementary color is #232152, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505221?
- White text. Black text has a contrast ratio of 2.57:1 and white text 8.17:1. WCAG asks for at least 4.5:1 for normal text.