#845F3E

Closest named color: Cocoa (#875F42). oklch(51.6% 0.068 62.2), rgb(132, 95, 62).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.68:1
White text5.69:1

Values

HEX#845F3E
RGBrgb(132, 95, 62)
HSLhsl(28, 36%, 38%)
OKLCHoklch(51.6% 0.068 62.2)

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 #845F3E 5.69:1 AA Lc -83.7 Fine for body text
Black text on #845F3E 3.68:1 AA large text Lc 25.7 Dividers and decoration only
#845F3E text on white 5.69:1 AA Lc 78.4 Fine for body text
#845F3E text on black 3.68:1 AA large text Lc -23.4 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

    #EFE9E4

    oklch(93.7% 0.009 62.6)

  3. Step 200

    200

    #E2D7CD

    oklch(88.5% 0.018 64.9)

  4. Step 300

    300

    #D1BCAC

    oklch(80.9% 0.033 59.6)

  5. Step 400

    400

    #B99A7F

    oklch(70.7% 0.053 62.9)

  6. Step 500

    500

    #A7815F

    oklch(63.2% 0.067 63)

  7. Step 600

    600

    #926A45

    oklch(55.7% 0.073 63.2)

  8. Step 700

    700 (this color)

    #845F3E

    oklch(51.6% 0.068 62.2)

  9. Step 800

    800

    #65482E

    oklch(42.7% 0.056 62.3)

  10. Step 900

    900

    #523C29

    oklch(37.5% 0.043 61.7)

  11. Step 950

    950

    #302318

    oklch(26.8% 0.028 61.5)

Export this scale for Tailwind in the Tailwind colors tool

#845F3E 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)#6B623B0.044
Deuteranopia (no green cones)#736A3E0.041
Tritanopia (no blue cones)#8E57570.051
Achromatopsia (no color)#6767670.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #845F3E

    #845F3E

    oklch(51.6% 0.068 62.2)

  • #436D8C

    #436D8C

    oklch(51.7% 0.068 241.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #845F3E

    #845F3E

    oklch(51.6% 0.068 62.2)

  • #8A594F

    #8A594F

    oklch(51.5% 0.067 32.1)

  • #766738

    #766738

    oklch(51.7% 0.068 92.2)

Open the analogous palette in the generator

Split complementary

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

  • #845F3E

    #845F3E

    oklch(51.6% 0.068 62.2)

  • #32727F

    #32727F

    oklch(51.6% 0.068 213)

  • #5A668F

    #5A668F

    oklch(51.7% 0.067 271.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #845F3E

    #845F3E

    oklch(51.6% 0.068 62.2)

  • #35756B

    #35756B

    oklch(51.7% 0.068 182)

  • #6F5F88

    #6F5F88

    oklch(51.7% 0.066 302)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #845F3E

    #845F3E

    oklch(51.6% 0.068 62.2)

  • #497355

    #497355

    oklch(51.6% 0.067 152.6)

  • #436D8C

    #436D8C

    oklch(51.7% 0.068 241.7)

  • #7F5979

    #7F5979

    oklch(51.5% 0.068 332.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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