#5A524D color
The hex color #5A524D is a gray.
In the RGB color model it is made of 35.3% red, 32.2% green and 30.2% blue (90, 82, 77).
Its hue angle is 23°, with 8% saturation and 33% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 14% yellow and 65% black.
The closest named color is Bark (#5F5854), a difference of 2.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 7.64:1).
#5A524D color codes
| HEX | #5A524D | |
|---|---|---|
| RGB | rgb(90, 82, 77) | |
| RGB percent | rgb(35.3%, 32.2%, 30.2%) | |
| HSL | hsl(23, 8%, 33%) | |
| HSV / HSB | hsv(23, 14%, 35%) | |
| CMYK | cmyk(0%, 9%, 14%, 65%) | |
| CIE LAB | lab(35.49, 2.31, 4.12) | |
| CIE LCH | lch(35.49, 4.72, 60.74) | |
| CIE XYZ | xyz(8.573, 8.744, 8.256) | |
| Decimal | 5919309 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A524D, 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 #5A524D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.75:1 | Fail | Fail | Fail |
| Sample text | 7.64:1 | Pass | Pass | Pass |
| #5A524D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.64:1 | Pass | Pass | Pass |
| Sample text | 2.75: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 #5A524D looks to people with the most common types of color vision deficiency.
#54524dProtanopia
no red cones#56544dDeuteranopia
no green cones#5d5151Tritanopia
no blue cones#535353Achromatopsia
no color vision
CSS examples
.background { background-color: #5a524d; }
.text { color: #5a524d; }
.border { border: 2px solid #5a524d; }
.transparent { background-color: rgb(90 82 77 / 50%); }
.gradient { background: linear-gradient(to right, #5a524d, #5a594d); }
Similar colors
#5f5854Bark#5e5755Smokescreen#565350Heavy Charcoal#61574eMajor Brown#61584fMetropolis#534c4bOff the Beaten Path#57534bMasala#625c58Caveman
Closest common color name: Umber.
Questions
- What color is #5A524D?
- #5A524D is a gray, closest to the named color Bark. It belongs to the gray family of colors.
- What is the RGB value of #5A524D?
- The RGB value is 90, 82, 77: 90 red, 82 green and 77 blue on a 0 to 255 scale.
- What is the complementary color of #5A524D?
- The complementary color is #4D555A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A524D?
- White text. Black text has a contrast ratio of 2.75:1 and white text 7.64:1. WCAG asks for at least 4.5:1 for normal text.