Cocoa color: hex code #875F42

#875F42 rgb(135, 95, 66)
Shades of brown

Cocoa has the hex code #875F42. It is a desaturated orange.

In the RGB color model it is made of 52.9% red, 37.3% green and 25.9% blue (135, 95, 66).

Its hue angle is 25°, with 34% saturation and 39% lightness. For print, the CMYK equivalent is 0% cyan, 30% magenta, 51% yellow and 47% black.

White text is the more readable choice on this background (contrast 5.61:1).

Cocoa (#875F42) color codes

HEX#875F42
RGBrgb(135, 95, 66)
RGB percentrgb(52.9%, 37.3%, 25.9%)
HSLhsl(25, 34%, 39%)
HSV / HSBhsv(25, 51%, 53%)
CMYKcmyk(0%, 30%, 51%, 47%)
CIE LABlab(43.84, 12.67, 23.02)
CIE LCHlch(43.84, 26.27, 61.18)
CIE XYZxyz(15.068, 13.73, 7.01)
Decimal8871746
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Cocoa, 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 #875F42RatioAAAAAAA large
Sample text3.75:1FailFailPass
Sample text5.61:1PassFailPass
#875F42 as text onRatioAAAAAAA large
Sample text5.61:1PassFailPass
Sample text3.75:1FailFailPass

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

CSS examples

.background { background-color: #875f42; }
.text { color: #875f42; }
.border { border: 2px solid #875f42; }
.transparent { background-color: rgb(135 95 66 / 50%); }
.gradient { background: linear-gradient(to right, #875f42, #878242); }
Background
Text color
Border

Similar colors

Closest common color name: Coffee.

See #875F42 on its hex code page

Questions

What color is #875F42?
#875F42 is a desaturated orange known as Cocoa. It belongs to the brown family of colors.
What is the RGB value of Cocoa?
The RGB value is 135, 95, 66: 135 red, 95 green and 66 blue on a 0 to 255 scale.
What is the complementary color of Cocoa?
The complementary color is #426A87, found by rotating the hue 180° on the color wheel.
Is black or white text better on #875F42?
White text. Black text has a contrast ratio of 3.75:1 and white text 5.61:1. WCAG asks for at least 4.5:1 for normal text.