#815840

Closest named color: Cocoa (#875F42). oklch(49.9% 0.065 51.1), rgb(129, 88, 64).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (50%)
Chromamuted (0.065)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.40:1
White text6.17:1

Values

HEX#815840
RGBrgb(129, 88, 64)
HSLhsl(22, 34%, 38%)
OKLCHoklch(49.9% 0.065 51.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 #815840 6.17:1 AA Lc -85.8 Fine for body text
Black text on #815840 3.40:1 AA large text Lc 23.4 Dividers and decoration only
#815840 text on white 6.17:1 AA Lc 80.7 Fine for body text
#815840 text on black 3.40:1 AA large text Lc -21.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

    #E3D6CF

    oklch(88.5% 0.017 50.4)

  4. Step 300

    300

    #D2BBAF

    oklch(80.8% 0.031 49.4)

  5. Step 400

    400

    #BB9884

    oklch(70.6% 0.051 51.3)

  6. Step 500

    500

    #AA7F66

    oklch(63.2% 0.065 51.4)

  7. Step 600

    600

    #95674D

    oklch(55.6% 0.071 50.3)

  8. Step 700

    700 (this color)

    #815840

    oklch(49.9% 0.065 51.1)

  9. Step 800

    800

    #674633

    oklch(42.6% 0.054 50.7)

  10. Step 900

    900

    #543B2D

    oklch(37.7% 0.042 50.3)

  11. Step 950

    950

    #31231A

    oklch(27% 0.027 54)

Export this scale for Tailwind in the Tailwind colors tool

#815840 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)#635C3E0.053
Deuteranopia (no green cones)#6D65400.049
Tritanopia (no blue cones)#8B50520.043
Achromatopsia (no color)#6161610.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #815840

    #815840

    oklch(49.9% 0.065 51.1)

  • #396A81

    #396A81

    oklch(50% 0.065 230.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #815840

    #815840

    oklch(49.9% 0.065 51.1)

  • #845453

    #845453

    oklch(49.9% 0.064 20.9)

  • #765F36

    #765F36

    oklch(49.9% 0.065 80.8)

Open the analogous palette in the generator

Split complementary

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

  • #815840

    #815840

    oklch(49.9% 0.065 51.1)

  • #2E6E72

    #2E6E72

    oklch(49.9% 0.065 200.9)

  • #4E6388

    #4E6388

    oklch(49.8% 0.065 261.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #815840

    #815840

    oklch(49.9% 0.065 51.1)

  • #386F5E

    #386F5E

    oklch(49.9% 0.065 171.3)

  • #635C86

    #635C86

    oklch(49.8% 0.067 291.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #815840

    #815840

    oklch(49.9% 0.065 51.1)

  • #4E6C49

    #4E6C49

    oklch(49.8% 0.065 141)

  • #396A81

    #396A81

    oklch(50% 0.065 230.2)

  • #74577A

    #74577A

    oklch(50% 0.065 320.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #815840 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.