#815C40

Closest named color: Cocoa (#875F42). oklch(50.7% 0.064 57.8), rgb(129, 92, 64).

Aa

White text reads best on this color (5.93:1).

About this color

#815C40 is a medium-dark, muted brown. In OKLCH its lightness is 51%, its chroma 0.064 and its hue 58°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.014 away. White text reads best on it, at 5.93:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.53:1
White text5.93:1

Values

HEX#815C40
RGBrgb(129, 92, 64)
HSLhsl(26, 34%, 38%)
OKLCHoklch(50.7% 0.064 57.8)

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 #815C40 5.93:1 AA Lc -84.8 Fine for body text
Black text on #815C40 3.53:1 AA large text Lc 24.5 Dividers and decoration only
#815C40 text on white 5.93:1 AA Lc 79.6 Fine for body text
#815C40 text on black 3.53:1 AA large text Lc -22.2 Dividers and decoration only

Tints and shades

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

    #E2D7CE

    oklch(88.5% 0.017 61.9)

  4. Step 300

    300

    #D1BCAE

    oklch(80.9% 0.031 55.9)

  5. Step 400

    400

    #B99A83

    oklch(70.8% 0.049 58.4)

  6. Step 500

    500

    #A78064

    oklch(63.1% 0.063 57)

  7. Step 600

    600

    #92694B

    oklch(55.6% 0.068 57)

  8. Step 700

    700 (this color)

    #815C40

    oklch(50.7% 0.064 57.8)

  9. Step 800

    800

    #654832

    oklch(42.8% 0.052 58)

  10. Step 900

    900

    #523C2C

    oklch(37.6% 0.04 57.2)

  11. Step 950

    950

    #30231A

    oklch(26.9% 0.026 56.1)

Export this scale for Tailwind in the Tailwind colors tool

#815C40 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)#675F3E0.045
Deuteranopia (no green cones)#7067400.041
Tritanopia (no blue cones)#8B55550.045
Achromatopsia (no color)#6464640.064

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #815C40

    #815C40

    oklch(50.7% 0.064 57.8)

  • #406B86

    #406B86

    oklch(50.8% 0.064 237.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815C40

    #815C40

    oklch(50.7% 0.064 57.8)

  • #865751

    #865751

    oklch(50.7% 0.064 27.5)

  • #756339

    #756339

    oklch(50.7% 0.064 87)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #815C40

    #815C40

    oklch(50.7% 0.064 57.8)

  • #336F78

    #336F78

    oklch(50.6% 0.063 208.4)

  • #55648A

    #55648A

    oklch(50.6% 0.064 267.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815C40

    #815C40

    oklch(50.7% 0.064 57.8)

  • #387165

    #387165

    oklch(50.6% 0.064 178.2)

  • #695D85

    #695D85

    oklch(50.6% 0.064 297.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815C40

    #815C40

    oklch(50.7% 0.064 57.8)

  • #4C6F50

    #4C6F50

    oklch(50.6% 0.063 147.5)

  • #406B86

    #406B86

    oklch(50.8% 0.064 237.5)

  • #795878

    #795878

    oklch(50.6% 0.064 327.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #815C40, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #815C40 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.