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 familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameCocoa
Black text3.74:1
White text5.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.

Analogous

Neighbouring hues, 30° either side.

Open the analogous palette in the generator

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.

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.

What colors make brown? | Color mixing chart

Codes for Cocoa in every format

HEX#875F42
RGBrgb(135, 95, 66)
HSLhsl(25, 34%, 39%)
OKLCHoklch(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.

PairWCAG 2ResultAPCAAPCA 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.

  1. Step 50

    50

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E3D6CE

    oklch(88.4% 0.018 54)

  4. Step 300

    300

    #D2BCAD

    oklch(81% 0.033 56.5)

  5. Step 400

    400

    #BB9981

    oklch(70.8% 0.053 56.9)

  6. Step 500

    500

    #A97F62

    oklch(63% 0.067 55.8)

  7. Step 600

    600

    #946849

    oklch(55.6% 0.072 55.8)

  8. Step 700

    700 (this color)

    #875F42

    oklch(52.1% 0.067 56.6)

  9. Step 800

    800

    #664730

    oklch(42.6% 0.055 57.2)

  10. Step 900

    900

    #543C2B

    oklch(37.8% 0.044 56.3)

  11. Step 950

    950

    #312319

    oklch(27% 0.028 56.8)

Export this scale for Tailwind in the Tailwind colors tool

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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#6B62400.049
Deuteranopia (no green cones)#746B420.045
Tritanopia (no blue cones)#9257580.048
Achromatopsia (no color)#6868680.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.