#5A6662 color
The hex color #5A6662 is a gray.
In the RGB color model it is made of 35.3% red, 40% green and 38.4% blue (90, 102, 98).
Its hue angle is 160°, with 6% saturation and 38% lightness. For print, the CMYK equivalent is 12% cyan, 0% magenta, 4% yellow and 60% black.
The closest named color is Dark Forest (#556962), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.98:1).
#5A6662 color codes
| HEX | #5A6662 | |
|---|---|---|
| RGB | rgb(90, 102, 98) | |
| RGB percent | rgb(35.3%, 40%, 38.4%) | |
| HSL | hsl(160, 6%, 38%) | |
| HSV / HSB | hsv(160, 12%, 40%) | |
| CMYK | cmyk(12%, 0%, 4%, 60%) | |
| CIE LAB | lab(42.09, -5.46, 0.7) | |
| CIE LCH | lch(42.09, 5.51, 172.68) | |
| CIE XYZ | xyz(11.172, 12.558, 13.388) | |
| Decimal | 5924450 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6662, 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 #5A6662 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.51:1 | Fail | Fail | Pass |
| Sample text | 5.98:1 | Pass | Fail | Pass |
| #5A6662 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.98:1 | Pass | Fail | Pass |
| Sample text | 3.51: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 #5A6662 looks to people with the most common types of color vision deficiency.
#656462Protanopia
no red cones#636362Deuteranopia
no green cones#576665Tritanopia
no blue cones#636363Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6662; }
.text { color: #5a6662; }
.border { border: 2px solid #5a6662; }
.transparent { background-color: rgb(90 102 98 / 50%); }
.gradient { background: linear-gradient(to right, #5a6662, #5a6466); }
Similar colors
#556962Dark Forest#5f6d6eWrapped in Twilight#566062Yacht Club#555b59Crucible#4a5d5fStill Waters Run Deep#555d50Ebony#475c5dWoodland Night#6a6b65Armoury
Questions
- What color is #5A6662?
- #5A6662 is a gray, closest to the named color Dark Forest. It belongs to the gray family of colors.
- What is the RGB value of #5A6662?
- The RGB value is 90, 102, 98: 90 red, 102 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #5A6662?
- The complementary color is #665A5E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6662?
- White text. Black text has a contrast ratio of 3.51:1 and white text 5.98:1. WCAG asks for at least 4.5:1 for normal text.