#505145 color
The hex color #505145 is a dark, grayish yellow.
In the RGB color model it is made of 31.4% red, 31.8% green and 27.1% blue (80, 81, 69).
Its hue angle is 65°, with 8% saturation and 29% lightness. For print, the CMYK equivalent is 1% cyan, 0% magenta, 15% yellow and 68% black.
The closest named color is Heavy Metal (#46473E), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 8.06:1).
#505145 color codes
| HEX | #505145 | |
|---|---|---|
| RGB | rgb(80, 81, 69) | |
| RGB percent | rgb(31.4%, 31.8%, 27.1%) | |
| HSL | hsl(65, 8%, 29%) | |
| HSV / HSB | hsv(65, 15%, 32%) | |
| CMYK | cmyk(1%, 0%, 15%, 68%) | |
| CIE LAB | lab(34.02, -2.85, 6.93) | |
| CIE LCH | lch(34.02, 7.5, 112.33) | |
| CIE XYZ | xyz(7.325, 8.02, 6.791) | |
| Decimal | 5263685 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #505145, 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 #505145 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.6:1 | Fail | Fail | Fail |
| Sample text | 8.06:1 | Pass | Pass | Pass |
| #505145 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.06:1 | Pass | Pass | Pass |
| Sample text | 2.6: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 #505145 looks to people with the most common types of color vision deficiency.
#535044Protanopia
no red cones#535045Deuteranopia
no green cones#524f4eTritanopia
no blue cones#505050Achromatopsia
no color vision
CSS examples
.background { background-color: #505145; }
.text { color: #505145; }
.border { border: 2px solid #505145; }
.transparent { background-color: rgb(80 81 69 / 50%); }
.gradient { background: linear-gradient(to right, #505145, #4a5145); }
Similar colors
#46473eHeavy Metal#4d503cKelp#57534bMasala#444b43Ancient Pine#4f4e4aSubterrain Kingdom#484a46Armadillo#4e4b35Olive Leaf#49463fWhiskey and Wine
Closest common color name: Ebony.
Questions
- What color is #505145?
- #505145 is a dark, grayish yellow, closest to the named color Heavy Metal. It belongs to the gray family of colors.
- What is the RGB value of #505145?
- The RGB value is 80, 81, 69: 80 red, 81 green and 69 blue on a 0 to 255 scale.
- What is the complementary color of #505145?
- The complementary color is #464551, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #505145?
- White text. Black text has a contrast ratio of 2.6:1 and white text 8.06:1. WCAG asks for at least 4.5:1 for normal text.