#87866B color
The hex color #87866B is a grayish yellow.
In the RGB color model it is made of 52.9% red, 52.5% green and 42% blue (135, 134, 107).
Its hue angle is 58°, with 12% saturation and 47% lightness. For print, the CMYK equivalent is 0% cyan, 1% magenta, 21% yellow and 47% black.
The closest named color is Warm Gray (#808069), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.65:1).
#87866B color codes
| HEX | #87866B | |
|---|---|---|
| RGB | rgb(135, 134, 107) | |
| RGB percent | rgb(52.9%, 52.5%, 42%) | |
| HSL | hsl(58, 12%, 47%) | |
| HSV / HSB | hsv(58, 21%, 53%) | |
| CMYK | cmyk(0%, 1%, 21%, 47%) | |
| CIE LAB | lab(55.34, -4.42, 14.72) | |
| CIE LCH | lch(55.34, 15.37, 106.72) | |
| CIE XYZ | xyz(21.17, 23.263, 17.282) | |
| Decimal | 8881771 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #87866B, 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 #87866B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.65:1 | Pass | Fail | Pass |
| Sample text | 3.72:1 | Fail | Fail | Pass |
| #87866B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.72:1 | Fail | Fail | Pass |
| Sample text | 5.65:1 | Pass | Fail | 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 #87866B looks to people with the most common types of color vision deficiency.
#8b8469Protanopia
no red cones#8c856cDeuteranopia
no green cones#8b827fTritanopia
no blue cones#848484Achromatopsia
no color vision
CSS examples
.background { background-color: #87866b; }
.text { color: #87866b; }
.border { border: 2px solid #87866b; }
.transparent { background-color: rgb(135 134 107 / 50%); }
.gradient { background: linear-gradient(to right, #87866b, #7a876b); }
Similar colors
#808069Warm Gray#8f886cWilderness#8b846dAntique#888877Kosher Khaki#8f917cFarmer’s Market#8c8e65Paid in Full#7b8762Green Relict#93977fSwamp Sessions
Questions
- What color is #87866B?
- #87866B is a grayish yellow, closest to the named color Warm Gray. It belongs to the yellow family of colors.
- What is the RGB value of #87866B?
- The RGB value is 135, 134, 107: 135 red, 134 green and 107 blue on a 0 to 255 scale.
- What is the complementary color of #87866B?
- The complementary color is #6B6C87, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #87866B?
- Black text. Black text has a contrast ratio of 5.65:1 and white text 3.72:1. WCAG asks for at least 4.5:1 for normal text.