#8A5F46

Closest named color: Cocoa (#875F42). oklch(52.5% 0.068 50.9), rgb(138, 95, 70).

Aa

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

About this color

#8A5F46 is a medium-dark, muted brown. In OKLCH its lightness is 53%, its chroma 0.068 and its hue 51°. 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.51:1.

Hue familyBrowns
Lightnessmedium-dark (53%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.80:1
White text5.51:1

Values

HEX#8A5F46
RGBrgb(138, 95, 70)
HSLhsl(22, 33%, 41%)
OKLCHoklch(52.5% 0.068 50.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 #8A5F46 5.51:1 AA Lc -82.7 Fine for body text
Black text on #8A5F46 3.80:1 AA large text Lc 26.6 Dividers and decoration only
#8A5F46 text on white 5.51:1 AA Lc 77.4 Fine for body text
#8A5F46 text on black 3.80:1 AA large text Lc -24.3 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 600.

  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

    #D2BCAF

    oklch(81% 0.031 52.6)

  5. Step 400

    400

    #BA9886

    oklch(70.6% 0.048 49.4)

  6. Step 500

    500

    #A97F67

    oklch(63.1% 0.063 51)

  7. Step 600

    600 (this color)

    #8A5F46

    oklch(52.5% 0.068 50.9)

  8. Step 700

    700

    #7E563F

    oklch(49.1% 0.064 50.6)

  9. Step 800

    800

    #664735

    oklch(42.7% 0.051 51.1)

  10. Step 900

    900

    #533B2E

    oklch(37.6% 0.04 49.5)

  11. Step 950

    950

    #31231B

    oklch(27% 0.026 51)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F46 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)#6B63440.054
Deuteranopia (no green cones)#756C460.049
Tritanopia (no blue cones)#9557590.045
Achromatopsia (no color)#6969690.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F46

    #8A5F46

    oklch(52.5% 0.068 50.9)

  • #3E728A

    #3E728A

    oklch(52.6% 0.067 229.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F46

    #8A5F46

    oklch(52.5% 0.068 50.9)

  • #8D5B59

    #8D5B59

    oklch(52.5% 0.066 22.1)

  • #7E663B

    #7E663B

    oklch(52.4% 0.067 81)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F46

    #8A5F46

    oklch(52.5% 0.068 50.9)

  • #33767A

    #33767A

    oklch(52.5% 0.068 200.6)

  • #546B92

    #546B92

    oklch(52.6% 0.068 260.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F46

    #8A5F46

    oklch(52.5% 0.068 50.9)

  • #3E7765

    #3E7765

    oklch(52.5% 0.067 171)

  • #6A648F

    #6A648F

    oklch(52.6% 0.067 290.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F46

    #8A5F46

    oklch(52.5% 0.068 50.9)

  • #55744F

    #55744F

    oklch(52.4% 0.067 140.5)

  • #3E728A

    #3E728A

    oklch(52.6% 0.067 229.8)

  • #7C5D82

    #7C5D82

    oklch(52.4% 0.068 320.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #8A5F46 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.