Cocoa #875F42
Cocoa is a medium-dark, muted brown with hex code #875F42 and RGB rgb(135, 95, 66).
Aa
White text reads best on this color (5.60:1).
About this color
#875F42 is a medium-dark, muted brown. In OKLCH its lightness is 52%, its chroma 0.067 and its hue 57°. Its hue sits on the warm side of the wheel. It is the named color Cocoa. White text reads best on it, at 5.60:1.
| Hue family | Browns |
| Lightness | medium-dark (52%) |
| Chroma | muted (0.067) |
| Temperature | warm |
| Nearest name | Cocoa |
| Black text | 3.74:1 |
| White text | 5.60:1 |
Colors that go with Cocoa
Matches found by rotating Cocoa around the OKLCH hue wheel, each labelled with the closest name in our list.
Complementary
The opposite hue (180°).
Analogous
Neighbouring hues, 30° either side.
Triadic
Three hues spaced 120° apart.
Color palettes with Cocoa
Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Cocoa, closest first.
Similar named colors
The eight named colors closest to Cocoa, with their ΔE distance.
- Dirt Brown #836539 ΔE 0.024
- Dark Taupe #7F684E ΔE 0.026
- Sepia #985E2B ΔE 0.037
- Dull Brown #876E4B ΔE 0.040
- Dirt #8A6E45 ΔE 0.042
- Grey Brown #7F7053 ΔE 0.046
- Sienna #A0522D ΔE 0.052
- Earth #A2653E ΔE 0.053
More about Cocoa
How to make Cocoa
A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.
- 3 parts brown
- 3 parts gray
- 1 part red
Recipe result: #885D3F, a difference of ΔE 0.005 from Cocoa. That is very close: most people will not see the difference.
Codes for Cocoa in every format
| HEX | #875F42 |
| RGB | rgb(135, 95, 66) |
| HSL | hsl(25, 34%, 39%) |
| OKLCH | oklch(52.1% 0.067 56.6) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #875F42 | 5.60:1 | AA | Lc -83.2 | Fine for body text |
| Black text on #875F42 | 3.74:1 | AA large text | Lc 26.1 | Dividers and decoration only |
| #875F42 text on white | 5.60:1 | AA | Lc 77.9 | Fine for body text |
| #875F42 text on black | 3.74:1 | AA large text | Lc -23.9 | Dividers and decoration only |
Shades and tints of Cocoa
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.
-
Step 50
50
#F8F5F3
oklch(97.2% 0.004 56.4)
-
Step 100
100
#EFE8E4
oklch(93.5% 0.009 52.1)
-
Step 200
200
#E3D6CE
oklch(88.4% 0.018 54)
-
Step 300
300
#D2BCAD
oklch(81% 0.033 56.5)
-
Step 400
400
#BB9981
oklch(70.8% 0.053 56.9)
-
Step 500
500
#A97F62
oklch(63% 0.067 55.8)
-
Step 600
600
#946849
oklch(55.6% 0.072 55.8)
-
Step 700
700 (this color)
#875F42
oklch(52.1% 0.067 56.6)
-
Step 800
800
#664730
oklch(42.6% 0.055 57.2)
-
Step 900
900
#543C2B
oklch(37.8% 0.044 56.3)
-
Step 950
950
#312319
oklch(27% 0.028 56.8)
Cocoa with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #6B6240 | 0.049 |
| Deuteranopia (no green cones) | #746B42 | 0.045 |
| Tritanopia (no blue cones) | #925758 | 0.048 |
| Achromatopsia (no color) | #686868 | 0.067 |
Use Cocoa in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.