#8A5F37

Closest named color: Cocoa (#875F42). oklch(52.2% 0.079 62.6), rgb(138, 95, 55).

Aa

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

About this color

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

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

Values

HEX#8A5F37
RGBrgb(138, 95, 55)
HSLhsl(29, 43%, 38%)
OKLCHoklch(52.2% 0.079 62.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 #8A5F37 5.56:1 AA Lc -83.0 Fine for body text
Black text on #8A5F37 3.77:1 AA large text Lc 26.4 Dividers and decoration only
#8A5F37 text on white 5.56:1 AA Lc 77.7 Fine for body text
#8A5F37 text on black 3.77:1 AA large text Lc -24.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

    #E4D6CB

    oklch(88.4% 0.022 60.7)

  4. Step 300

    300

    #D3BCA8

    oklch(80.9% 0.038 63.3)

  5. Step 400

    400

    #BD9979

    oklch(70.8% 0.062 63.2)

  6. Step 500

    500

    #AC7F57

    oklch(63.2% 0.078 62.3)

  7. Step 600

    600

    #97683C

    oklch(55.7% 0.085 62.7)

  8. Step 700

    700 (this color)

    #8A5F37

    oklch(52.2% 0.079 62.6)

  9. Step 800

    800

    #684727

    oklch(42.7% 0.065 63.7)

  10. Step 900

    900

    #553B24

    oklch(37.6% 0.051 61.8)

  11. Step 950

    950

    #322316

    oklch(27.1% 0.032 61.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F37 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)#6C62330.053
Deuteranopia (no green cones)#776C380.047
Tritanopia (no blue cones)#9656550.058
Achromatopsia (no color)#6868680.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F37

    #8A5F37

    oklch(52.2% 0.079 62.6)

  • #3E6F93

    #3E6F93

    oklch(52.3% 0.078 242.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F37

    #8A5F37

    oklch(52.2% 0.079 62.6)

  • #91584C

    #91584C

    oklch(52.2% 0.078 32.6)

  • #7A6830

    #7A6830

    oklch(52.2% 0.078 91.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F37

    #8A5F37

    oklch(52.2% 0.079 62.6)

  • #247584

    #247584

    oklch(52.1% 0.079 212.6)

  • #5A6697

    #5A6697

    oklch(52.1% 0.079 272.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F37

    #8A5F37

    oklch(52.2% 0.079 62.6)

  • #28786D

    #28786D

    oklch(52.1% 0.079 182.4)

  • #725E8F

    #725E8F

    oklch(52.1% 0.079 302.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F37

    #8A5F37

    oklch(52.2% 0.079 62.6)

  • #447753

    #447753

    oklch(52.3% 0.079 152.3)

  • #3E6F93

    #3E6F93

    oklch(52.3% 0.078 242.2)

  • #85587D

    #85587D

    oklch(52.2% 0.079 333.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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