#845D45

Closest named color: Cocoa (#875F42). oklch(51.4% 0.063 52.5), rgb(132, 93, 69).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.63:1
White text5.78:1

Values

HEX#845D45
RGBrgb(132, 93, 69)
HSLhsl(23, 31%, 39%)
OKLCHoklch(51.4% 0.063 52.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 #845D45 5.78:1 AA Lc -84.1 Fine for body text
Black text on #845D45 3.63:1 AA large text Lc 25.2 Dividers and decoration only
#845D45 text on white 5.78:1 AA Lc 78.8 Fine for body text
#845D45 text on black 3.63:1 AA large text Lc -23.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

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E3D6CF

    oklch(88.5% 0.017 50.4)

  4. Step 300

    300

    #D1BCAF

    oklch(80.9% 0.03 53.9)

  5. Step 400

    400

    #BA9985

    oklch(70.8% 0.049 52.9)

  6. Step 500

    500

    #A87F67

    oklch(63% 0.062 51.6)

  7. Step 600

    600

    #93684E

    oklch(55.5% 0.067 52)

  8. Step 700

    700 (this color)

    #845D45

    oklch(51.4% 0.063 52.5)

  9. Step 800

    800

    #664734

    oklch(42.7% 0.052 52.4)

  10. Step 900

    900

    #533C2D

    oklch(37.8% 0.041 54.2)

  11. Step 950

    950

    #31231B

    oklch(27% 0.026 51)

Export this scale for Tailwind in the Tailwind colors tool

#845D45 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)#6861430.049
Deuteranopia (no green cones)#7169450.045
Tritanopia (no blue cones)#8E56570.042
Achromatopsia (no color)#6666660.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #845D45

    #845D45

    oklch(51.4% 0.063 52.5)

  • #406D85

    #406D85

    oklch(51.2% 0.063 233.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845D45

    #845D45

    oklch(51.4% 0.063 52.5)

  • #885956

    #885956

    oklch(51.4% 0.063 23.5)

  • #79643C

    #79643C

    oklch(51.4% 0.063 82.6)

Open the analogous palette in the generator

Split complementary

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

  • #845D45

    #845D45

    oklch(51.4% 0.063 52.5)

  • #367277

    #367277

    oklch(51.4% 0.063 202.6)

  • #54678B

    #54678B

    oklch(51.3% 0.062 262.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845D45

    #845D45

    oklch(51.4% 0.063 52.5)

  • #3E7363

    #3E7363

    oklch(51.4% 0.063 172.1)

  • #686188

    #686188

    oklch(51.5% 0.061 292.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845D45

    #845D45

    oklch(51.4% 0.063 52.5)

  • #52704F

    #52704F

    oklch(51.2% 0.062 142.4)

  • #406D85

    #406D85

    oklch(51.2% 0.063 233.1)

  • #785B7C

    #785B7C

    oklch(51.3% 0.062 322.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #845D45 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.