#815B40

Closest named color: Cocoa (#875F42). oklch(50.5% 0.064 56.1), rgb(129, 91, 64).

Aa

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

About this color

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

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

Values

HEX#815B40
RGBrgb(129, 91, 64)
HSLhsl(25, 34%, 38%)
OKLCHoklch(50.5% 0.064 56.1)

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 #815B40 5.99:1 AA Lc -85.1 Fine for body text
Black text on #815B40 3.50:1 AA large text Lc 24.2 Dividers and decoration only
#815B40 text on white 5.99:1 AA Lc 79.9 Fine for body text
#815B40 text on black 3.50:1 AA large text Lc -22.0 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

    #E3D6CE

    oklch(88.4% 0.018 54)

  4. Step 300

    300

    #D1BCAE

    oklch(80.9% 0.031 55.9)

  5. Step 400

    400

    #B99983

    oklch(70.6% 0.049 56.3)

  6. Step 500

    500

    #A88064

    oklch(63.2% 0.064 56.3)

  7. Step 600

    600

    #93694B

    oklch(55.7% 0.069 56.3)

  8. Step 700

    700 (this color)

    #815B40

    oklch(50.5% 0.064 56.1)

  9. Step 800

    800

    #664732

    oklch(42.7% 0.054 54.9)

  10. Step 900

    900

    #533C2C

    oklch(37.7% 0.042 55.9)

  11. Step 950

    950

    #31231A

    oklch(27% 0.027 54)

Export this scale for Tailwind in the Tailwind colors tool

#815B40 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)#665E3E0.047
Deuteranopia (no green cones)#6F67400.044
Tritanopia (no blue cones)#8B54540.044
Achromatopsia (no color)#6363630.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #815B40

    #815B40

    oklch(50.5% 0.064 56.1)

  • #3F6A84

    #3F6A84

    oklch(50.4% 0.063 236.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815B40

    #815B40

    oklch(50.5% 0.064 56.1)

  • #865651

    #865651

    oklch(50.5% 0.065 26.1)

  • #756238

    #756238

    oklch(50.5% 0.064 85.8)

Open the analogous palette in the generator

Split complementary

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

  • #815B40

    #815B40

    oklch(50.5% 0.064 56.1)

  • #326F77

    #326F77

    oklch(50.5% 0.064 206.8)

  • #53648A

    #53648A

    oklch(50.5% 0.064 265.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815B40

    #815B40

    oklch(50.5% 0.064 56.1)

  • #387163

    #387163

    oklch(50.5% 0.065 175.6)

  • #685D85

    #685D85

    oklch(50.5% 0.064 296.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815B40

    #815B40

    oklch(50.5% 0.064 56.1)

  • #4C6F4E

    #4C6F4E

    oklch(50.5% 0.065 145.9)

  • #3F6A84

    #3F6A84

    oklch(50.4% 0.063 236.5)

  • #785878

    #785878

    oklch(50.5% 0.063 326.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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