#9E997D color
The hex color #9E997D is a grayish yellow.
In the RGB color model it is made of 62% red, 60% green and 49% blue (158, 153, 125).
Its hue angle is 51°, with 15% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 3% magenta, 21% yellow and 38% black.
The closest named color is Pebble (#9D9880), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.31:1).
#9E997D color codes
| HEX | #9E997D | |
|---|---|---|
| RGB | rgb(158, 153, 125) | |
| RGB percent | rgb(62%, 60%, 49%) | |
| HSL | hsl(51, 15%, 55%) | |
| HSV / HSB | hsv(51, 21%, 62%) | |
| CMYK | cmyk(0%, 3%, 21%, 38%) | |
| CIE LAB | lab(62.95, -2.97, 15.41) | |
| CIE LCH | lch(62.95, 15.69, 100.91) | |
| CIE XYZ | xyz(29.193, 31.533, 23.947) | |
| Decimal | 10393981 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9E997D, 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 #9E997D | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.31:1 | Pass | Pass | Pass |
| Sample text | 2.87:1 | Fail | Fail | Fail |
| #9E997D as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.87:1 | Fail | Fail | Fail |
| Sample text | 7.31: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 #9E997D looks to people with the most common types of color vision deficiency.
#9f977bProtanopia
no red cones#a0997eDeuteranopia
no green cones#a39591Tritanopia
no blue cones#989898Achromatopsia
no color vision
CSS examples
.background { background-color: #9e997d; }
.text { color: #9e997d; }
.border { border: 2px solid #9e997d; }
.transparent { background-color: rgb(158 153 125 / 50%); }
.gradient { background: linear-gradient(to right, #9e997d, #939e7d); }
Similar colors
#9d9880Pebble#9f9978A Frond in Need#9f9b84Knock on Wood#9e9e7cBonsai Garden#a79b7eMohalla#999a86Lemongrass#a19986Nomad#9a9e80Fennelly
Closest common color name: Stone.
Questions
- What color is #9E997D?
- #9E997D is a grayish yellow, closest to the named color Pebble. It belongs to the yellow family of colors.
- What is the RGB value of #9E997D?
- The RGB value is 158, 153, 125: 158 red, 153 green and 125 blue on a 0 to 255 scale.
- What is the complementary color of #9E997D?
- The complementary color is #7D829E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9E997D?
- Black text. Black text has a contrast ratio of 7.31:1 and white text 2.87:1. WCAG asks for at least 4.5:1 for normal text.