#5A6462 color
The hex color #5A6462 is a gray.
In the RGB color model it is made of 35.3% red, 39.2% green and 38.4% blue (90, 100, 98).
Its hue angle is 168°, with 5% saturation and 37% lightness. For print, the CMYK equivalent is 10% cyan, 0% magenta, 2% yellow and 61% black.
The closest named color is Yacht Club (#566062), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.12:1).
#5A6462 color codes
| HEX | #5A6462 | |
|---|---|---|
| RGB | rgb(90, 100, 98) | |
| RGB percent | rgb(35.3%, 39.2%, 38.4%) | |
| HSL | hsl(168, 5%, 37%) | |
| HSV / HSB | hsv(168, 10%, 39%) | |
| CMYK | cmyk(10%, 0%, 2%, 61%) | |
| CIE LAB | lab(41.48, -4.28, -0.18) | |
| CIE LCH | lch(41.48, 4.28, 182.42) | |
| CIE XYZ | xyz(10.978, 12.17, 13.324) | |
| Decimal | 5923938 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6462, 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 #5A6462 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.43:1 | Fail | Fail | Pass |
| Sample text | 6.12:1 | Pass | Fail | Pass |
| #5A6462 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.12:1 | Pass | Fail | Pass |
| Sample text | 3.43: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 #5A6462 looks to people with the most common types of color vision deficiency.
#636362Protanopia
no red cones#616162Deuteranopia
no green cones#586463Tritanopia
no blue cones#626262Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6462; }
.text { color: #5a6462; }
.border { border: 2px solid #5a6462; }
.transparent { background-color: rgb(90 100 98 / 50%); }
.gradient { background: linear-gradient(to right, #5a6462, #5a6164); }
Similar colors
#566062Yacht Club#555b59Crucible#5f6d6eWrapped in Twilight#616669Gray Web#4a5d5fStill Waters Run Deep#5a5e61Blindfolded#535e64Lava Rock#556962Dark Forest
Closest common color name: Dim Gray.
Questions
- What color is #5A6462?
- #5A6462 is a gray, closest to the named color Yacht Club. It belongs to the gray family of colors.
- What is the RGB value of #5A6462?
- The RGB value is 90, 100, 98: 90 red, 100 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #5A6462?
- The complementary color is #645A5C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6462?
- White text. Black text has a contrast ratio of 3.43:1 and white text 6.12:1. WCAG asks for at least 4.5:1 for normal text.