#845B2E

Closest named color: Cocoa (#875F42). oklch(50.6% 0.081 66.6), rgb(132, 91, 46).

Aa

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

About this color

#845B2E is a medium-dark, moderately saturated brown. In OKLCH its lightness is 51%, its chroma 0.081 and its hue 67°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.024 away. White text reads best on it, at 5.97:1.

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.51:1
White text5.97:1

Values

HEX#845B2E
RGBrgb(132, 91, 46)
HSLhsl(31, 48%, 35%)
OKLCHoklch(50.6% 0.081 66.6)

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 #845B2E 5.97:1 AA Lc -84.9 Fine for body text
Black text on #845B2E 3.51:1 AA large text Lc 24.4 Dividers and decoration only
#845B2E text on white 5.97:1 AA Lc 79.7 Fine for body text
#845B2E text on black 3.51:1 AA large text Lc -22.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

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #EFE9E2

    oklch(93.7% 0.011 71.9)

  3. Step 200

    200

    #E3D7CA

    oklch(88.5% 0.022 69.8)

  4. Step 300

    300

    #D3BCA6

    oklch(80.9% 0.04 66)

  5. Step 400

    400

    #BC9977

    oklch(70.7% 0.063 65.7)

  6. Step 500

    500

    #AB8053

    oklch(63.2% 0.081 66.7)

  7. Step 600

    600

    #966937

    oklch(55.7% 0.088 67.1)

  8. Step 700

    700 (this color)

    #845B2E

    oklch(50.6% 0.081 66.6)

  9. Step 800

    800

    #684724

    oklch(42.7% 0.067 65.9)

  10. Step 900

    900

    #543C22

    oklch(37.7% 0.052 67.3)

  11. Step 950

    950

    #312314

    oklch(26.9% 0.033 67.6)

Export this scale for Tailwind in the Tailwind colors tool

#845B2E 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)#685E2A0.050
Deuteranopia (no green cones)#72672F0.044
Tritanopia (no blue cones)#9051510.065
Achromatopsia (no color)#6363630.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #845B2E

    #845B2E

    oklch(50.6% 0.081 66.6)

  • #3B6991

    #3B6991

    oklch(50.6% 0.082 246.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845B2E

    #845B2E

    oklch(50.6% 0.081 66.6)

  • #8D5343

    #8D5343

    oklch(50.5% 0.082 36.2)

  • #726529

    #726529

    oklch(50.6% 0.081 97.1)

Open the analogous palette in the generator

Split complementary

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

  • #845B2E

    #845B2E

    oklch(50.6% 0.081 66.6)

  • #1C7083

    #1C7083

    oklch(50.6% 0.081 216.8)

  • #596093

    #596093

    oklch(50.5% 0.081 277.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845B2E

    #845B2E

    oklch(50.6% 0.081 66.6)

  • #19746C

    #19746C

    oklch(50.6% 0.082 186)

  • #715889

    #715889

    oklch(50.5% 0.081 307.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845B2E

    #845B2E

    oklch(50.6% 0.081 66.6)

  • #397352

    #397352

    oklch(50.6% 0.081 156.9)

  • #3B6991

    #3B6991

    oklch(50.6% 0.082 246.5)

  • #825276

    #825276

    oklch(50.5% 0.081 336.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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