#9D9B7F color
The hex color #9D9B7F is a grayish yellow.
In the RGB color model it is made of 61.6% red, 60.8% green and 49.8% blue (157, 155, 127).
Its hue angle is 56°, with 13% saturation and 56% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 19% yellow and 38% black.
The closest named color is Knock on Wood (#9F9B84), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 7.43:1).
#9D9B7F color codes
| HEX | #9D9B7F | |
|---|---|---|
| RGB | rgb(157, 155, 127) | |
| RGB percent | rgb(61.6%, 60.8%, 49.8%) | |
| HSL | hsl(56, 13%, 56%) | |
| HSV / HSB | hsv(56, 19%, 62%) | |
| CMYK | cmyk(0%, 1%, 19%, 38%) | |
| CIE LAB | lab(63.46, -4.14, 14.98) | |
| CIE LCH | lch(63.46, 15.54, 105.45) | |
| CIE XYZ | xyz(29.457, 32.143, 24.727) | |
| Decimal | 10328959 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9D9B7F, 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 #9D9B7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.43:1 | Pass | Pass | Pass |
| Sample text | 2.83:1 | Fail | Fail | Fail |
| #9D9B7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.83:1 | Fail | Fail | Fail |
| Sample text | 7.43: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 #9D9B7F looks to people with the most common types of color vision deficiency.
#a0997dProtanopia
no red cones#a19a80Deuteranopia
no green cones#a29793Tritanopia
no blue cones#9a9a9aAchromatopsia
no color vision
CSS examples
.background { background-color: #9d9b7f; }
.text { color: #9d9b7f; }
.border { border: 2px solid #9d9b7f; }
.transparent { background-color: rgb(157 155 127 / 50%); }
.gradient { background: linear-gradient(to right, #9d9b7f, #909d7f); }
Similar colors
#9f9b84Knock on Wood#9e9e7cBonsai Garden#9d9880Pebble#9f9978A Frond in Need#9a9e80Fennelly#999a86Lemongrass#93977fSwamp Sessions#999988Concrete Jungle
Closest common color name: Stone.
Questions
- What color is #9D9B7F?
- #9D9B7F is a grayish yellow, closest to the named color Knock on Wood. It belongs to the yellow family of colors.
- What is the RGB value of #9D9B7F?
- The RGB value is 157, 155, 127: 157 red, 155 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #9D9B7F?
- The complementary color is #7F819D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9D9B7F?
- Black text. Black text has a contrast ratio of 7.43:1 and white text 2.83:1. WCAG asks for at least 4.5:1 for normal text.