#505317 color
The hex color #505317 is a dark, moderate yellow.
In the RGB color model it is made of 31.4% red, 32.5% green and 9% blue (80, 83, 23).
Its hue angle is 63°, with 57% saturation and 21% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 72% yellow and 67% black.
The closest named color is Army Green (#4B5320), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.11:1).
#505317 color codes
| HEX | #505317 | |
|---|---|---|
| RGB | rgb(80, 83, 23) | |
| RGB percent | rgb(31.4%, 32.5%, 9%) | |
| HSL | hsl(63, 57%, 21%) | |
| HSV / HSB | hsv(63, 72%, 33%) | |
| CMYK | cmyk(4%, 0%, 72%, 67%) | |
| CIE LAB | lab(33.89, -9.97, 33.24) | |
| CIE LCH | lch(33.89, 34.7, 106.7) | |
| CIE XYZ | xyz(6.556, 7.954, 2) | |
| Decimal | 5264151 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505317, 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 #505317 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.59:1 | Fail | Fail | Fail |
| Sample text | 8.11:1 | Pass | Pass | Pass |
| #505317 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.11:1 | Pass | Pass | Pass |
| Sample text | 2.59: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 #505317 looks to people with the most common types of color vision deficiency.
#5a4f0eProtanopia
no red cones#5a501bDeuteranopia
no green cones#564e47Tritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #505317; }
.text { color: #505317; }
.border { border: 2px solid #505317; }
.transparent { background-color: rgb(80 83 23 / 50%); }
.gradient { background: linear-gradient(to right, #505317, #325317); }
Similar colors
#4b5320Army Green#404404Green Not Found#5e582bReptile Revenge#444411Alligator Gladiator#3c4d03Godzilla#373e02Dark Olive#556611Forestial Outpost#556600Serrano Pepper
Questions
- What color is #505317?
- #505317 is a dark, moderate yellow, closest to the named color Army Green. It belongs to the yellow family of colors.
- What is the RGB value of #505317?
- The RGB value is 80, 83, 23: 80 red, 83 green and 23 blue on a 0 to 255 scale.
- What is the complementary color of #505317?
- The complementary color is #1A1753, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505317?
- White text. Black text has a contrast ratio of 2.59:1 and white text 8.11:1. WCAG asks for at least 4.5:1 for normal text.