#9D9B87 color
The hex color #9D9B87 is a grayish yellow.
In the RGB color model it is made of 61.6% red, 60.8% green and 52.9% blue (157, 155, 135).
Its hue angle is 55°, with 10% saturation and 57% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 14% yellow and 38% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 1.3 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.47:1).
#9D9B87 color codes
| HEX | #9D9B87 | |
|---|---|---|
| RGB | rgb(157, 155, 135) | |
| RGB percent | rgb(61.6%, 60.8%, 52.9%) | |
| HSL | hsl(55, 10%, 57%) | |
| HSV / HSB | hsv(55, 14%, 62%) | |
| CMYK | cmyk(0%, 1%, 14%, 38%) | |
| CIE LAB | lab(63.64, -2.85, 10.76) | |
| CIE LCH | lch(63.64, 11.13, 104.82) | |
| CIE XYZ | xyz(29.999, 32.36, 27.583) | |
| Decimal | 10328967 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D9B87, 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 #9D9B87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.47:1 | Pass | Pass | Pass |
| Sample text | 2.81:1 | Fail | Fail | Fail |
| #9D9B87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.47: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 #9D9B87 looks to people with the most common types of color vision deficiency.
#9f9986Protanopia
no red cones#a09b88Deuteranopia
no green cones#a19895Tritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #9d9b87; }
.text { color: #9d9b87; }
.border { border: 2px solid #9d9b87; }
.transparent { background-color: rgb(157 155 135 / 50%); }
.gradient { background: linear-gradient(to right, #9d9b87, #949d87); }
Similar colors
#9f9b84Knock on Wood#999a86Lemongrass#999988Concrete Jungle#9d9880Pebble#a19986Nomad#93977fSwamp Sessions#8f917cFarmer’s Market#9f9978A Frond in Need
Closest common color name: Stone.
Questions
- What color is #9D9B87?
- #9D9B87 is a grayish yellow, closest to the named color Knock on Wood. It belongs to the gray family of colors.
- What is the RGB value of #9D9B87?
- The RGB value is 157, 155, 135: 157 red, 155 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #9D9B87?
- The complementary color is #87899D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D9B87?
- Black text. Black text has a contrast ratio of 7.47:1 and white text 2.81:1. WCAG asks for at least 4.5:1 for normal text.