#815E42

Closest named color: Cocoa (#875F42). oklch(51.1% 0.062 59.5), rgb(129, 94, 66).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.61:1
White text5.81:1

Values

HEX#815E42
RGBrgb(129, 94, 66)
HSLhsl(27, 32%, 38%)
OKLCHoklch(51.1% 0.062 59.5)

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 #815E42 5.81:1 AA Lc -84.2 Fine for body text
Black text on #815E42 3.61:1 AA large text Lc 25.1 Dividers and decoration only
#815E42 text on white 5.81:1 AA Lc 79.0 Fine for body text
#815E42 text on black 3.61:1 AA large text Lc -22.8 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

    #F7F5F3

    oklch(97.1% 0.003 67.8)

  2. Step 100

    100

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E2D7CF

    oklch(88.6% 0.016 58.6)

  4. Step 300

    300

    #D0BDAE

    oklch(81% 0.03 60.7)

  5. Step 400

    400

    #B89A83

    oklch(70.7% 0.048 59.4)

  6. Step 500

    500

    #A68164

    oklch(63.2% 0.062 59.4)

  7. Step 600

    600

    #906A4B

    oklch(55.5% 0.066 60.1)

  8. Step 700

    700 (this color)

    #815E42

    oklch(51.1% 0.062 59.5)

  9. Step 800

    800

    #644832

    oklch(42.6% 0.051 59)

  10. Step 900

    900

    #523D2C

    oklch(37.8% 0.04 60.2)

  11. Step 950

    950

    #30241A

    oklch(27.1% 0.025 61.2)

Export this scale for Tailwind in the Tailwind colors tool

#815E42 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)#6961400.042
Deuteranopia (no green cones)#7168420.038
Tritanopia (no blue cones)#8B57570.045
Achromatopsia (no color)#6565650.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #815E42

    #815E42

    oklch(51.1% 0.062 59.5)

  • #446B86

    #446B86

    oklch(51% 0.062 239.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815E42

    #815E42

    oklch(51.1% 0.062 59.5)

  • #865952

    #865952

    oklch(51.1% 0.061 29.1)

  • #74653C

    #74653C

    oklch(51.1% 0.061 90)

Open the analogous palette in the generator

Split complementary

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

  • #815E42

    #815E42

    oklch(51.1% 0.062 59.5)

  • #37707A

    #37707A

    oklch(51.1% 0.062 210.3)

  • #58658A

    #58658A

    oklch(51.1% 0.061 269.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815E42

    #815E42

    oklch(51.1% 0.062 59.5)

  • #3B7267

    #3B7267

    oklch(51.1% 0.061 179.2)

  • #6B5F85

    #6B5F85

    oklch(51.2% 0.061 298.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815E42

    #815E42

    oklch(51.1% 0.062 59.5)

  • #4D7153

    #4D7153

    oklch(51.2% 0.063 149)

  • #446B86

    #446B86

    oklch(51% 0.062 239.8)

  • #7B5A78

    #7B5A78

    oklch(51.2% 0.062 329.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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