#9D9D97 color
The hex color #9D9D97 is a gray.
In the RGB color model it is made of 61.6% red, 61.6% green and 59.2% blue (157, 157, 151).
Its hue angle is 60°, with 3% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 0% magenta, 4% yellow and 38% black.
The closest named color is Gateway Gray (#A0A09C), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.7:1).
#9D9D97 color codes
| HEX | #9D9D97 | |
|---|---|---|
| RGB | rgb(157, 157, 151) | |
| RGB percent | rgb(61.6%, 61.6%, 59.2%) | |
| HSL | hsl(60, 3%, 60%) | |
| HSV / HSB | hsv(60, 4%, 62%) | |
| CMYK | cmyk(0%, 0%, 4%, 38%) | |
| CIE LAB | lab(64.58, -1.13, 3.13) | |
| CIE LCH | lch(64.58, 3.33, 109.82) | |
| CIE XYZ | xyz(31.547, 33.516, 34.08) | |
| Decimal | 10329495 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D9D97, 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 #9D9D97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.7:1 | Pass | Pass | Pass |
| Sample text | 2.73:1 | Fail | Fail | Fail |
| #9D9D97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.73:1 | Fail | Fail | Fail |
| Sample text | 7.7: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 #9D9D97 looks to people with the most common types of color vision deficiency.
#9e9c97Protanopia
no red cones#9e9d97Deuteranopia
no green cones#9e9c9bTritanopia
no blue cones#9d9d9dAchromatopsia
no color vision
CSS examples
.background { background-color: #9d9d97; }
.text { color: #9d9d97; }
.border { border: 2px solid #9d9d97; }
.transparent { background-color: rgb(157 157 151 / 50%); }
.gradient { background: linear-gradient(to right, #9d9d97, #9a9d97); }
Similar colors
#a0a09cGateway Gray#999b9bWalrus#a3a2a1Shadow of the Colossus#999999Million Gray#969389Lost Space#aba9a0Windless Morning#a6a6a6Quicksilver#9fa5a5Silent Film
Closest common color name: Dark Gray.
Questions
- What color is #9D9D97?
- #9D9D97 is a gray, closest to the named color Gateway Gray. It belongs to the gray family of colors.
- What is the RGB value of #9D9D97?
- The RGB value is 157, 157, 151: 157 red, 157 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #9D9D97?
- The complementary color is #97979D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D9D97?
- Black text. Black text has a contrast ratio of 7.7:1 and white text 2.73:1. WCAG asks for at least 4.5:1 for normal text.