#845D4E

Closest named color: Cocoa (#875F42). oklch(51.5% 0.057 41.9), rgb(132, 93, 78).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.65:1
White text5.74:1

Values

HEX#845D4E
RGBrgb(132, 93, 78)
HSLhsl(17, 26%, 41%)
OKLCHoklch(51.5% 0.057 41.9)

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 #845D4E 5.74:1 AA Lc -83.9 Fine for body text
Black text on #845D4E 3.65:1 AA large text Lc 25.4 Dividers and decoration only
#845D4E text on white 5.74:1 AA Lc 78.6 Fine for body text
#845D4E text on black 3.65:1 AA large text Lc -23.1 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

    #EFE8E6

    oklch(93.6% 0.008 36.6)

  3. Step 200

    200

    #E2D6D1

    oklch(88.4% 0.015 44.2)

  4. Step 300

    300

    #D1BBB3

    oklch(80.8% 0.028 41.1)

  5. Step 400

    400

    #B9988C

    oklch(70.6% 0.043 41)

  6. Step 500

    500

    #A77F6F

    oklch(63.1% 0.055 42.8)

  7. Step 600

    600

    #926857

    oklch(55.6% 0.06 43)

  8. Step 700

    700 (this color)

    #845D4E

    oklch(51.5% 0.057 41.9)

  9. Step 800

    800

    #65473B

    oklch(42.8% 0.046 42.7)

  10. Step 900

    900

    #533B32

    oklch(37.7% 0.037 41.5)

  11. Step 950

    950

    #30231E

    oklch(27% 0.022 42)

Export this scale for Tailwind in the Tailwind colors tool

#845D4E 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)#67614D0.050
Deuteranopia (no green cones)#70694E0.046
Tritanopia (no blue cones)#8D57590.031
Achromatopsia (no color)#6666660.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #845D4E

    #845D4E

    oklch(51.5% 0.057 41.9)

  • #416F7F

    #416F7F

    oklch(51.5% 0.056 222.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845D4E

    #845D4E

    oklch(51.5% 0.057 41.9)

  • #855A5F

    #855A5F

    oklch(51.5% 0.057 11.6)

  • #7C6243

    #7C6243

    oklch(51.4% 0.056 71)

Open the analogous palette in the generator

Split complementary

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

  • #845D4E

    #845D4E

    oklch(51.5% 0.057 41.9)

  • #3E7270

    #3E7270

    oklch(51.5% 0.056 192.3)

  • #506A88

    #506A88

    oklch(51.6% 0.057 252.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845D4E

    #845D4E

    oklch(51.5% 0.057 41.9)

  • #49725E

    #49725E

    oklch(51.6% 0.056 162.4)

  • #626488

    #626488

    oklch(51.6% 0.057 281.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845D4E

    #845D4E

    oklch(51.5% 0.057 41.9)

  • #5C6F4D

    #5C6F4D

    oklch(51.7% 0.056 131.9)

  • #416F7F

    #416F7F

    oklch(51.5% 0.056 222.4)

  • #735E80

    #735E80

    oklch(51.5% 0.058 312.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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