#9D9A97 color
The hex color #9D9A97 is a gray.
In the RGB color model it is made of 61.6% red, 60.4% green and 59.2% blue (157, 154, 151).
Its hue angle is 30°, with 3% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 2% magenta, 4% yellow and 38% black.
The closest named color is Million Gray (#999999), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.5:1).
#9D9A97 color codes
| HEX | #9D9A97 | |
|---|---|---|
| RGB | rgb(157, 154, 151) | |
| RGB percent | rgb(61.6%, 60.4%, 59.2%) | |
| HSL | hsl(30, 3%, 60%) | |
| HSV / HSB | hsv(30, 4%, 62%) | |
| CMYK | cmyk(0%, 2%, 4%, 38%) | |
| CIE LAB | lab(63.77, 0.53, 1.96) | |
| CIE LCH | lch(63.77, 2.03, 74.96) | |
| CIE XYZ | xyz(31.045, 32.514, 33.912) | |
| Decimal | 10328727 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D9A97, 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 #9D9A97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.5:1 | Pass | Pass | Pass |
| Sample text | 2.8:1 | Fail | Fail | Fail |
| #9D9A97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.8:1 | Fail | Fail | Fail |
| Sample text | 7.5: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 #9D9A97 looks to people with the most common types of color vision deficiency.
#9b9a97Protanopia
no red cones#9c9b97Deuteranopia
no green cones#9e9999Tritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #9d9a97; }
.text { color: #9d9a97; }
.border { border: 2px solid #9d9a97; }
.transparent { background-color: rgb(157 154 151 / 50%); }
.gradient { background: linear-gradient(to right, #9d9a97, #9d9d97); }
Similar colors
#999999Million Gray#989493Flint Rock#a0a09cGateway Gray#a3a2a1Shadow of the Colossus#999b9bWalrus#929292Nickel#919191Tin#a6a6a6Quicksilver
Closest common color name: Dark Gray.
Questions
- What color is #9D9A97?
- #9D9A97 is a gray, closest to the named color Million Gray. It belongs to the gray family of colors.
- What is the RGB value of #9D9A97?
- The RGB value is 157, 154, 151: 157 red, 154 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #9D9A97?
- The complementary color is #979A9D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D9A97?
- Black text. Black text has a contrast ratio of 7.5:1 and white text 2.8:1. WCAG asks for at least 4.5:1 for normal text.