#9D9A9A color
The hex color #9D9A9A is a gray.
In the RGB color model it is made of 61.6% red, 60.4% green and 60.4% blue (157, 154, 154).
Its hue angle is 0°, with 2% saturation and 61% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 2% yellow and 38% black.
The closest named color is Million Gray (#999999), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.52:1).
#9D9A9A color codes
| HEX | #9D9A9A | |
|---|---|---|
| RGB | rgb(157, 154, 154) | |
| RGB percent | rgb(61.6%, 60.4%, 60.4%) | |
| HSL | hsl(0, 2%, 61%) | |
| HSV / HSB | hsv(0, 2%, 62%) | |
| CMYK | cmyk(0%, 2%, 2%, 38%) | |
| CIE LAB | lab(63.85, 1.09, 0.39) | |
| CIE LCH | lch(63.85, 1.15, 19.52) | |
| CIE XYZ | xyz(31.292, 32.613, 35.212) | |
| Decimal | 10328730 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D9A9A, 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 #9D9A9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.52:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #9D9A9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.52: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 #9D9A9A looks to people with the most common types of color vision deficiency.
#9a9a9aProtanopia
no red cones#9b9b9aDeuteranopia
no green cones#9e9a9aTritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #9d9a9a; }
.text { color: #9d9a9a; }
.border { border: 2px solid #9d9a9a; }
.transparent { background-color: rgb(157 154 154 / 50%); }
.gradient { background: linear-gradient(to right, #9d9a9a, #9d9c9a); }
Similar colors
#999999Million Gray#989493Flint Rock#a3a2a1Shadow of the Colossus#999b9bWalrus#929292Nickel#919191Tin#a0a09cGateway Gray#a6a6a6Quicksilver
Closest common color name: Dark Gray.
Questions
- What color is #9D9A9A?
- #9D9A9A is a gray, closest to the named color Million Gray. It belongs to the gray family of colors.
- What is the RGB value of #9D9A9A?
- The RGB value is 157, 154, 154: 157 red, 154 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #9D9A9A?
- The complementary color is #9A9D9D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D9A9A?
- Black text. Black text has a contrast ratio of 7.52:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.