#8A5E39

Closest named color: Cocoa (#875F42). oklch(52.1% 0.078 59.9), rgb(138, 94, 57).

Aa

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

About this color

#8A5E39 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.078 and its hue 60°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.011 away. White text reads best on it, at 5.61:1.

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.74:1
White text5.61:1

Values

HEX#8A5E39
RGBrgb(138, 94, 57)
HSLhsl(27, 42%, 38%)
OKLCHoklch(52.1% 0.078 59.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 #8A5E39 5.61:1 AA Lc -83.2 Fine for body text
Black text on #8A5E39 3.74:1 AA large text Lc 26.1 Dividers and decoration only
#8A5E39 text on white 5.61:1 AA Lc 77.9 Fine for body text
#8A5E39 text on black 3.74:1 AA large text Lc -23.9 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

    #F0E8E3

    oklch(93.6% 0.011 54.5)

  3. Step 200

    200

    #E4D6CC

    oklch(88.5% 0.021 58)

  4. Step 300

    300

    #D3BBA9

    oklch(80.8% 0.037 59.1)

  5. Step 400

    400

    #BD987B

    oklch(70.6% 0.06 59.7)

  6. Step 500

    500

    #AC7E59

    oklch(63% 0.077 59.6)

  7. Step 600

    600

    #97673F

    oklch(55.6% 0.083 59.7)

  8. Step 700

    700 (this color)

    #8A5E39

    oklch(52.1% 0.078 59.9)

  9. Step 800

    800

    #694629

    oklch(42.7% 0.064 59.5)

  10. Step 900

    900

    #553B26

    oklch(37.6% 0.049 59.4)

  11. Step 950

    950

    #322316

    oklch(27.1% 0.032 61.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A5E39 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)#6B62360.055
Deuteranopia (no green cones)#766B390.048
Tritanopia (no blue cones)#9655550.056
Achromatopsia (no color)#6868680.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5E39

    #8A5E39

    oklch(52.1% 0.078 59.9)

  • #3C6F91

    #3C6F91

    oklch(52.1% 0.077 239.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5E39

    #8A5E39

    oklch(52.1% 0.078 59.9)

  • #91584E

    #91584E

    oklch(52.2% 0.078 30.6)

  • #7B6730

    #7B6730

    oklch(52.1% 0.078 89.5)

Open the analogous palette in the generator

Split complementary

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

  • #8A5E39

    #8A5E39

    oklch(52.1% 0.078 59.9)

  • #257582

    #257582

    oklch(52.1% 0.077 210.5)

  • #586796

    #586796

    oklch(52.1% 0.077 270.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5E39

    #8A5E39

    oklch(52.1% 0.078 59.9)

  • #2B786B

    #2B786B

    oklch(52.2% 0.078 180)

  • #705F8F

    #705F8F

    oklch(52.1% 0.077 300)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5E39

    #8A5E39

    oklch(52.1% 0.078 59.9)

  • #477651

    #477651

    oklch(52.1% 0.078 149.8)

  • #3C6F91

    #3C6F91

    oklch(52.1% 0.077 239.7)

  • #82587F

    #82587F

    oklch(51.9% 0.079 329.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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