#5A6A5F color
The hex color #5A6A5F is a grayish green.
In the RGB color model it is made of 35.3% red, 41.6% green and 37.3% blue (90, 106, 95).
Its hue angle is 139°, with 8% saturation and 38% lightness. For print, the CMYK equivalent is 15% cyan, 0% magenta, 10% yellow and 58% 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.74:1).
#5A6A5F color codes
| HEX | #5A6A5F | |
|---|---|---|
| RGB | rgb(90, 106, 95) | |
| RGB percent | rgb(35.3%, 41.6%, 37.3%) | |
| HSL | hsl(139, 8%, 38%) | |
| HSV / HSB | hsv(139, 15%, 42%) | |
| CMYK | cmyk(15%, 0%, 10%, 58%) | |
| CIE LAB | lab(43.22, -8.44, 4.16) | |
| CIE LCH | lch(43.22, 9.41, 153.76) | |
| CIE XYZ | xyz(11.436, 13.308, 12.79) | |
| Decimal | 5925471 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #5A6A5F, 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 #5A6A5F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.66:1 | Fail | Fail | Pass |
| Sample text | 5.74:1 | Pass | Fail | Pass |
| #5A6A5F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.74:1 | Pass | Fail | Pass |
| Sample text | 3.66: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 #5A6A5F looks to people with the most common types of color vision deficiency.
#6a675eProtanopia
no red cones#676560Deuteranopia
no green cones#586a67Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #5a6a5f; }
.text { color: #5a6a5f; }
.border { border: 2px solid #5a6a5f; }
.transparent { background-color: rgb(90 106 95 / 50%); }
.gradient { background: linear-gradient(to right, #5a6a5f, #5a6a67); }
Similar colors
#556962Dark Forest#5f6957Italian Basil#5e6354Black Forest#67786eCamping Trip#555d50Ebony#5b6f55Cactus#4e5a4aVerdant Hush#616c51Hinterland
Questions
- What color is #5A6A5F?
- #5A6A5F is a grayish green, closest to the named color Dark Forest. It belongs to the gray family of colors.
- What is the RGB value of #5A6A5F?
- The RGB value is 90, 106, 95: 90 red, 106 green and 95 blue on a 0 to 255 scale.
- What is the complementary color of #5A6A5F?
- The complementary color is #6A5A65, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #5A6A5F?
- White text. Black text has a contrast ratio of 3.66:1 and white text 5.74:1. WCAG asks for at least 4.5:1 for normal text.