#878D3B color

#878D3B rgb(135, 141, 59)
Shades of yellow

The hex color #878D3B is a desaturated yellow.

In the RGB color model it is made of 52.9% red, 55.3% green and 23.1% blue (135, 141, 59).

Its hue angle is 64°, with 41% saturation and 39% lightness. For print, the CMYK equivalent is 4% cyan, 0% magenta, 58% yellow and 45% black.

The closest named color is Witch Brew (#888738), a difference of 2.6 ΔE, a small difference.

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

#878D3B color codes

HEX#878D3B
RGBrgb(135, 141, 59)
RGB percentrgb(52.9%, 55.3%, 23.1%)
HSLhsl(64, 41%, 39%)
HSV / HSBhsv(64, 58%, 55%)
CMYKcmyk(4%, 0%, 58%, 45%)
CIE LABlab(56.6, -14.03, 42.11)
CIE LCHlch(56.6, 44.39, 108.43)
CIE XYZxyz(20.306, 24.517, 7.799)
Decimal8883515
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #878D3B, 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 #878D3BRatioAAAAAAA large
Sample text5.9:1PassFailPass
Sample text3.56:1FailFailPass
#878D3B as text onRatioAAAAAAA large
Sample text3.56:1FailFailPass
Sample text5.9: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 #878D3B looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #878d3b; }
.text { color: #878d3b; }
.border { border: 2px solid #878d3b; }
.transparent { background-color: rgb(135 141 59 / 50%); }
.gradient { background: linear-gradient(to right, #878d3b, #5e8d3b); }
Background
Text color
Border

Similar colors

Closest common color name: Moss Green.

Questions

What color is #878D3B?
#878D3B is a desaturated yellow, closest to the named color Witch Brew. It belongs to the yellow family of colors.
What is the RGB value of #878D3B?
The RGB value is 135, 141, 59: 135 red, 141 green and 59 blue on a 0 to 255 scale.
What is the complementary color of #878D3B?
The complementary color is #413B8D, found by rotating the hue 180° on the color wheel.
Is black or white text better on #878D3B?
Black text. Black text has a contrast ratio of 5.9:1 and white text 3.56:1. WCAG asks for at least 4.5:1 for normal text.