#9E979E color
The hex color #9E979E is a gray.
In the RGB color model it is made of 62% red, 59.2% green and 62% blue (158, 151, 158).
Its hue angle is 300°, with 3% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 4% magenta, 0% yellow and 38% black.
The closest named color is Lunar Light (#9B959C), a difference of 0.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.37:1).
#9E979E color codes
| HEX | #9E979E | |
|---|---|---|
| RGB | rgb(158, 151, 158) | |
| RGB percent | rgb(62%, 59.2%, 62%) | |
| HSL | hsl(300, 3%, 61%) | |
| HSV / HSB | hsv(300, 4%, 62%) | |
| CMYK | cmyk(0%, 4%, 0%, 38%) | |
| CIE LAB | lab(63.24, 3.88, -2.75) | |
| CIE LCH | lch(63.24, 4.76, 324.68) | |
| CIE XYZ | xyz(31.338, 31.871, 36.842) | |
| Decimal | 10393502 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E979E, 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 #9E979E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.37:1 | Pass | Pass | Pass |
| Sample text | 2.85:1 | Fail | Fail | Fail |
| #9E979E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.37:1 | Pass | Pass | 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 #9E979E looks to people with the most common types of color vision deficiency.
#97999eProtanopia
no red cones#98999eDeuteranopia
no green cones#9f9799Tritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #9e979e; }
.text { color: #9e979e; }
.border { border: 2px solid #9e979e; }
.transparent { background-color: rgb(158 151 158 / 50%); }
.gradient { background: linear-gradient(to right, #9e979e, #9e979b); }
Similar colors
#9b959cLunar Light#a3999cWalkway#948e90Hong Kong Mist#9998a7Lavender Ash#9698a3Dark Ages#918c8fGull#9596a4Too Big to Whale#a2919bNirvana
Closest common color name: Dark Gray.
Questions
- What color is #9E979E?
- #9E979E is a gray, closest to the named color Lunar Light. It belongs to the gray family of colors.
- What is the RGB value of #9E979E?
- The RGB value is 158, 151, 158: 158 red, 151 green and 158 blue on a 0 to 255 scale.
- What is the complementary color of #9E979E?
- The complementary color is #979E97, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E979E?
- Black text. Black text has a contrast ratio of 7.37:1 and white text 2.85:1. WCAG asks for at least 4.5:1 for normal text.