#5A5C54 color
The hex color #5A5C54 is a gray.
In the RGB color model it is made of 35.3% red, 36.1% green and 32.9% blue (90, 92, 84).
Its hue angle is 75°, with 5% saturation and 35% lightness. For print, the CMYK equivalent is 2% cyan, 0% magenta, 9% yellow and 64% black.
The closest named color is Crucible (#555B59), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.79:1).
#5A5C54 color codes
| HEX | #5A5C54 | |
|---|---|---|
| RGB | rgb(90, 92, 84) | |
| RGB percent | rgb(35.3%, 36.1%, 32.9%) | |
| HSL | hsl(75, 5%, 35%) | |
| HSV / HSB | hsv(75, 9%, 36%) | |
| CMYK | cmyk(2%, 0%, 9%, 64%) | |
| CIE LAB | lab(38.67, -2.44, 4.33) | |
| CIE LCH | lch(38.67, 4.97, 119.41) | |
| CIE XYZ | xyz(9.644, 10.468, 9.898) | |
| Decimal | 5921876 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A5C54, 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 #5A5C54 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.09:1 | Fail | Fail | Pass |
| Sample text | 6.79:1 | Pass | Fail | Pass |
| #5A5C54 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.79:1 | Pass | Fail | Pass |
| Sample text | 3.09:1 | Fail | Fail | Pass |
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 #5A5C54 looks to people with the most common types of color vision deficiency.
#5d5b54Protanopia
no red cones#5d5b54Deuteranopia
no green cones#5b5b5aTritanopia
no blue cones#5b5b5bAchromatopsia
no color vision
CSS examples
.background { background-color: #5a5c54; }
.text { color: #5a5c54; }
.border { border: 2px solid #5a5c54; }
.transparent { background-color: rgb(90 92 84 / 50%); }
.gradient { background: linear-gradient(to right, #5a5c54, #565c54); }
Similar colors
#555b59Crucible#555d50Ebony#5e6354Black Forest#57534bMasala#5c5d5dKnight’s Armour#5e5e5eIron#565350Heavy Charcoal#555555Stone Cold
Questions
- What color is #5A5C54?
- #5A5C54 is a gray, closest to the named color Crucible. It belongs to the gray family of colors.
- What is the RGB value of #5A5C54?
- The RGB value is 90, 92, 84: 90 red, 92 green and 84 blue on a 0 to 255 scale.
- What is the complementary color of #5A5C54?
- The complementary color is #56545C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A5C54?
- White text. Black text has a contrast ratio of 3.09:1 and white text 6.79:1. WCAG asks for at least 4.5:1 for normal text.