#845B2F

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

Aa

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

About this color

#845B2F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 51%, its chroma 0.081 and its hue 66°. 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 5.96:1.

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

Values

HEX#845B2F
RGBrgb(132, 91, 47)
HSLhsl(31, 47%, 35%)
OKLCHoklch(50.6% 0.081 66.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 #845B2F 5.96:1 AA Lc -84.9 Fine for body text
Black text on #845B2F 3.51:1 AA large text Lc 24.4 Dividers and decoration only
#845B2F text on white 5.96:1 AA Lc 79.7 Fine for body text
#845B2F 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

    #EFE8E2

    oklch(93.5% 0.011 63.4)

  3. Step 200

    200

    #E3D7CB

    oklch(88.6% 0.021 67.6)

  4. Step 300

    300

    #D3BCA7

    oklch(80.9% 0.039 64.6)

  5. Step 400

    400

    #BC9977

    oklch(70.7% 0.063 65.7)

  6. Step 500

    500

    #AB8054

    oklch(63.2% 0.08 66.2)

  7. Step 600

    600

    #966938

    oklch(55.7% 0.087 66.7)

  8. Step 700

    700 (this color)

    #845B2F

    oklch(50.6% 0.081 66.1)

  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

    #312315

    oklch(26.9% 0.032 65.8)

Export this scale for Tailwind in the Tailwind colors tool

#845B2F 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)#685E2B0.050
Deuteranopia (no green cones)#7267300.044
Tritanopia (no blue cones)#8F52510.062
Achromatopsia (no color)#6363630.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #845B2F

    #845B2F

    oklch(50.6% 0.081 66.1)

  • #3B6990

    #3B6990

    oklch(50.5% 0.08 245.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845B2F

    #845B2F

    oklch(50.6% 0.081 66.1)

  • #8D5444

    #8D5444

    oklch(50.7% 0.081 36.5)

  • #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°).

  • #845B2F

    #845B2F

    oklch(50.6% 0.081 66.1)

  • #1D7082

    #1D7082

    oklch(50.5% 0.08 215.9)

  • #586093

    #586093

    oklch(50.4% 0.082 276.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845B2F

    #845B2F

    oklch(50.6% 0.081 66.1)

  • #1B746C

    #1B746C

    oklch(50.7% 0.081 186)

  • #705889

    #705889

    oklch(50.4% 0.081 306.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845B2F

    #845B2F

    oklch(50.6% 0.081 66.1)

  • #3A7351

    #3A7351

    oklch(50.7% 0.082 155.8)

  • #3B6990

    #3B6990

    oklch(50.5% 0.08 245.9)

  • #825376

    #825376

    oklch(50.7% 0.08 336.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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