Cocoa color: hex code #875F42
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 | |
|---|---|---|
| RGB | rgb(135, 95, 66) | |
| RGB percent | rgb(52.9%, 37.3%, 25.9%) | |
| HSL | hsl(25, 34%, 39%) | |
| HSV / HSB | hsv(25, 51%, 53%) | |
| CMYK | cmyk(0%, 30%, 51%, 47%) | |
| CIE LAB | lab(43.84, 12.67, 23.02) | |
| CIE LCH | lch(43.84, 26.27, 61.18) | |
| CIE XYZ | xyz(15.068, 13.73, 7.01) | |
| Decimal | 8871746 | |
| Short hex | None (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 #875F42 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.75:1 | Fail | Fail | Pass |
| Sample text | 5.61:1 | Pass | Fail | Pass |
| #875F42 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.61:1 | Pass | Fail | Pass |
| Sample text | 3.75:1 | Fail | 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 #875F42 looks to people with the most common types of color vision deficiency.
#6b6240Protanopia
no red cones#746b42Deuteranopia
no green cones#925758Tritanopia
no blue cones#686868Achromatopsia
no color vision
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); }
Similar colors
#855e42Dark Wood#816045Man Cave#8d6747Wild Horses#8e664eMocha Delight#90614aWeathered Leather#785736Cold Brew Coffee#906a54Leather#8b6945Barrel Aged
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.