#505845 color
The hex color #505845 is a dark, grayish yellow-green.
In the RGB color model it is made of 31.4% red, 34.5% green and 27.1% blue (80, 88, 69).
Its hue angle is 85°, with 12% saturation and 31% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 22% yellow and 65% black.
The closest named color is Verdant Hush (#4E5A4A), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.44:1).
#505845 color codes
| HEX | #505845 | |
|---|---|---|
| RGB | rgb(80, 88, 69) | |
| RGB percent | rgb(31.4%, 34.5%, 27.1%) | |
| HSL | hsl(85, 12%, 31%) | |
| HSV / HSB | hsv(85, 22%, 35%) | |
| CMYK | cmyk(9%, 0%, 22%, 65%) | |
| CIE LAB | lab(36.2, -7.07, 9.99) | |
| CIE LCH | lch(36.2, 12.24, 125.29) | |
| CIE XYZ | xyz(7.872, 9.115, 6.974) | |
| Decimal | 5265477 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505845, 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 #505845 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.44:1 | Pass | Pass | Pass |
| #505845 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.44:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #505845 looks to people with the most common types of color vision deficiency.
#5a5544Protanopia
no red cones#595546Deuteranopia
no green cones#515653Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #505845; }
.text { color: #505845; }
.border { border: 2px solid #505845; }
.transparent { background-color: rgb(80 88 69 / 50%); }
.gradient { background: linear-gradient(to right, #505845, #475845); }
Similar colors
#4e5a4aVerdant Hush#555d50Ebony#595d45Tree of Life#4d503cKelp#4b5338Broccoli Green#49583eHeavy Green#424f3bHōjicha#585d40Cypress
Questions
- What color is #505845?
- #505845 is a dark, grayish yellow-green, closest to the named color Verdant Hush. It belongs to the gray family of colors.
- What is the RGB value of #505845?
- The RGB value is 80, 88, 69: 80 red, 88 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #505845?
- The complementary color is #4D4558, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505845?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.44:1. WCAG asks for at least 4.5:1 for normal text.