#878C7B color

#878C7B rgb(135, 140, 123)
Shades of gray

The hex color #878C7B is a gray.

In the RGB color model it is made of 52.9% red, 54.9% green and 48.2% blue (135, 140, 123).

Its hue angle is 78°, with 7% saturation and 52% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 12% yellow and 45% black.

The closest named color is Kosher Khaki (#888877), a difference of 2.6 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 6.07:1).

#878C7B color codes

HEX#878C7B
RGBrgb(135, 140, 123)
RGB percentrgb(52.9%, 54.9%, 48.2%)
HSLhsl(78, 7%, 52%)
HSV / HSBhsv(78, 12%, 55%)
CMYKcmyk(4%, 0%, 12%, 45%)
CIE LABlab(57.4, -5.06, 8.46)
CIE LCHlch(57.4, 9.86, 120.9)
CIE XYZxyz(22.944, 25.337, 22.417)
Decimal8883323
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #878C7B, 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 #878C7BRatioAAAAAAA large
Sample text6.07:1PassFailPass
Sample text3.46:1FailFailPass
#878C7B as text onRatioAAAAAAA large
Sample text3.46:1FailFailPass
Sample text6.07:1PassFailPass

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 #878C7B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #878c7b; }
.text { color: #878c7b; }
.border { border: 2px solid #878c7b; }
.transparent { background-color: rgb(135 140 123 / 50%); }
.gradient { background: linear-gradient(to right, #878c7b, #7f8c7b); }
Background
Text color
Border

Similar colors

Questions

What color is #878C7B?
#878C7B is a gray, closest to the named color Kosher Khaki. It belongs to the gray family of colors.
What is the RGB value of #878C7B?
The RGB value is 135, 140, 123: 135 red, 140 green and 123 blue on a 0 to 255 scale.
What is the complementary color of #878C7B?
The complementary color is #807B8C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #878C7B?
Black text. Black text has a contrast ratio of 6.07:1 and white text 3.46:1. WCAG asks for at least 4.5:1 for normal text.