#878C6F color
The hex color #878C6F is a grayish yellow-green.
In the RGB color model it is made of 52.9% red, 54.9% green and 43.5% blue (135, 140, 111).
Its hue angle is 70°, with 12% saturation and 49% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 21% yellow and 45% black.
The closest named color is Artichoke (#8F9779), a difference of 3.7 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.01:1).
#878C6F color codes
| HEX | #878C6F | |
|---|---|---|
| RGB | rgb(135, 140, 111) | |
| RGB percent | rgb(52.9%, 54.9%, 43.5%) | |
| HSL | hsl(70, 12%, 49%) | |
| HSV / HSB | hsv(70, 21%, 55%) | |
| CMYK | cmyk(4%, 0%, 21%, 45%) | |
| CIE LAB | lab(57.13, -7.11, 14.91) | |
| CIE LCH | lch(57.13, 16.52, 115.49) | |
| CIE XYZ | xyz(22.239, 25.055, 18.7) | |
| Decimal | 8883311 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #878C6F, 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 #878C6F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.01:1 | Pass | Fail | Pass |
| Sample text | 3.49:1 | Fail | Fail | Pass |
| #878C6F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.49:1 | Fail | Fail | Pass |
| Sample text | 6.01: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 #878C6F looks to people with the most common types of color vision deficiency.
#90896dProtanopia
no red cones#908970Deuteranopia
no green cones#8a8984Tritanopia
no blue cones#898989Achromatopsia
no color vision
CSS examples
.background { background-color: #878c6f; }
.text { color: #878c6f; }
.border { border: 2px solid #878c6f; }
.transparent { background-color: rgb(135 140 111 / 50%); }
.gradient { background: linear-gradient(to right, #878c6f, #798c6f); }
Similar colors
#8f9779Artichoke#8c8e65Paid in Full#8f917cFarmer’s Market#7b8762Green Relict#93977fSwamp Sessions#8a9480Aloe Tip#808069Warm Gray#76856aWreath
Questions
- What color is #878C6F?
- #878C6F is a grayish yellow-green, closest to the named color Artichoke. It belongs to the green family of colors.
- What is the RGB value of #878C6F?
- The RGB value is 135, 140, 111: 135 red, 140 green and 111 blue on a 0 to 255 scale.
- What is the complementary color of #878C6F?
- The complementary color is #746F8C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #878C6F?
- Black text. Black text has a contrast ratio of 6.01:1 and white text 3.49:1. WCAG asks for at least 4.5:1 for normal text.