#505C31 color
The hex color #505C31 is a dark, desaturated yellow-green.
In the RGB color model it is made of 31.4% red, 36.1% green and 19.2% blue (80, 92, 49).
Its hue angle is 77°, with 30% saturation and 28% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 47% yellow and 64% black.
The closest named color is Army Green (#4B5320), a difference of 4.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.2:1).
#505C31 color codes
| HEX | #505C31 | |
|---|---|---|
| RGB | rgb(80, 92, 49) | |
| RGB percent | rgb(31.4%, 36.1%, 19.2%) | |
| HSL | hsl(77, 30%, 28%) | |
| HSV / HSB | hsv(77, 47%, 36%) | |
| CMYK | cmyk(13%, 0%, 47%, 64%) | |
| CIE LAB | lab(37.08, -12.54, 23.15) | |
| CIE LCH | lch(37.08, 26.33, 118.45) | |
| CIE XYZ | xyz(7.69, 9.582, 4.349) | |
| Decimal | 5266481 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505C31, 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 #505C31 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.92:1 | Fail | Fail | Fail |
| Sample text | 7.2:1 | Pass | Pass | Pass |
| #505C31 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.2:1 | Pass | Pass | Pass |
| Sample text | 2.92: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 #505C31 looks to people with the most common types of color vision deficiency.
#61572eProtanopia
no red cones#5f5733Deuteranopia
no green cones#535852Tritanopia
no blue cones#575757Achromatopsia
no color vision
CSS examples
.background { background-color: #505c31; }
.text { color: #505c31; }
.border { border: 2px solid #505c31; }
.transparent { background-color: rgb(80 92 49 / 50%); }
.gradient { background: linear-gradient(to right, #505c31, #3b5c31); }
Similar colors
#4b5320Army Green#445533Zen Garden Olive#585d40Cypress#415b36Turf#4b5338Broccoli Green#54682bBimi Green#49583eHeavy Green#556b2fDark Olive Green
Questions
- What color is #505C31?
- #505C31 is a dark, desaturated yellow-green, closest to the named color Army Green. It belongs to the green family of colors.
- What is the RGB value of #505C31?
- The RGB value is 80, 92, 49: 80 red, 92 green and 49 blue on a 0 to 255 scale.
- What is the complementary color of #505C31?
- The complementary color is #3D315C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505C31?
- White text. Black text has a contrast ratio of 2.92:1 and white text 7.2:1. WCAG asks for at least 4.5:1 for normal text.