#5A6862 color
The hex color #5A6862 is a gray.
In the RGB color model it is made of 35.3% red, 40.8% green and 38.4% blue (90, 104, 98).
Its hue angle is 154°, with 7% saturation and 38% lightness. For print, the CMYK equivalent is 13% cyan, 0% magenta, 6% yellow and 59% black.
The closest named color is Dark Forest (#556962), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.85:1).
#5A6862 color codes
| HEX | #5A6862 | |
|---|---|---|
| RGB | rgb(90, 104, 98) | |
| RGB percent | rgb(35.3%, 40.8%, 38.4%) | |
| HSL | hsl(154, 7%, 38%) | |
| HSV / HSB | hsv(154, 13%, 41%) | |
| CMYK | cmyk(13%, 0%, 6%, 59%) | |
| CIE LAB | lab(42.7, -6.63, 1.58) | |
| CIE LCH | lch(42.7, 6.82, 166.57) | |
| CIE XYZ | xyz(11.371, 12.956, 13.455) | |
| Decimal | 5924962 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6862, 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 #5A6862 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.59:1 | Fail | Fail | Pass |
| Sample text | 5.85:1 | Pass | Fail | Pass |
| #5A6862 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.85:1 | Pass | Fail | Pass |
| Sample text | 3.59: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 #5A6862 looks to people with the most common types of color vision deficiency.
#676662Protanopia
no red cones#656462Deuteranopia
no green cones#576866Tritanopia
no blue cones#656565Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6862; }
.text { color: #5a6862; }
.border { border: 2px solid #5a6862; }
.transparent { background-color: rgb(90 104 98 / 50%); }
.gradient { background: linear-gradient(to right, #5a6862, #5a6768); }
Similar colors
#556962Dark Forest#5f6d6eWrapped in Twilight#555d50Ebony#5f6957Italian Basil#5e6354Black Forest#566062Yacht Club#555b59Crucible#4a5d5fStill Waters Run Deep
Questions
- What color is #5A6862?
- #5A6862 is a gray, closest to the named color Dark Forest. It belongs to the gray family of colors.
- What is the RGB value of #5A6862?
- The RGB value is 90, 104, 98: 90 red, 104 green and 98 blue on a 0 to 255 scale.
- What is the complementary color of #5A6862?
- The complementary color is #685A60, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6862?
- White text. Black text has a contrast ratio of 3.59:1 and white text 5.85:1. WCAG asks for at least 4.5:1 for normal text.