#8A5D2F

Closest named color: Cocoa (#875F42). oklch(51.7% 0.085 64.5), rgb(138, 93, 47).

Aa

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

About this color

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

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

Values

HEX#8A5D2F
RGBrgb(138, 93, 47)
HSLhsl(30, 49%, 36%)
OKLCHoklch(51.7% 0.085 64.5)

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 #8A5D2F 5.69:1 AA Lc -83.6 Fine for body text
Black text on #8A5D2F 3.68:1 AA large text Lc 25.7 Dividers and decoration only
#8A5D2F text on white 5.69:1 AA Lc 78.3 Fine for body text
#8A5D2F text on black 3.68:1 AA large text Lc -23.5 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

    #F0E8E2

    oklch(93.6% 0.012 59.6)

  3. Step 200

    200

    #E4D6CA

    oklch(88.4% 0.022 63.2)

  4. Step 300

    300

    #D4BCA5

    oklch(81% 0.042 66)

  5. Step 400

    400

    #BE9875

    oklch(70.6% 0.066 64.1)

  6. Step 500

    500

    #AD7F51

    oklch(63.2% 0.084 65.3)

  7. Step 600

    600

    #986735

    oklch(55.5% 0.091 64.5)

  8. Step 700

    700 (this color)

    #8A5D2F

    oklch(51.7% 0.085 64.5)

  9. Step 800

    800

    #6A4622

    oklch(42.7% 0.071 63.8)

  10. Step 900

    900

    #563B21

    oklch(37.7% 0.055 63.8)

  11. Step 950

    950

    #322314

    oklch(27% 0.034 65.5)

Export this scale for Tailwind in the Tailwind colors tool

#8A5D2F 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)#6B602A0.056
Deuteranopia (no green cones)#766B300.050
Tritanopia (no blue cones)#9653530.066
Achromatopsia (no color)#6767670.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5D2F

    #8A5D2F

    oklch(51.7% 0.085 64.5)

  • #3A6D96

    #3A6D96

    oklch(51.8% 0.085 244.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5D2F

    #8A5D2F

    oklch(51.7% 0.085 64.5)

  • #925546

    #925546

    oklch(51.6% 0.085 34.7)

  • #786727

    #786727

    oklch(51.7% 0.086 94.3)

Open the analogous palette in the generator

Split complementary

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

  • #8A5D2F

    #8A5D2F

    oklch(51.7% 0.085 64.5)

  • #167486

    #167486

    oklch(51.6% 0.085 214.5)

  • #596499

    #596499

    oklch(51.7% 0.085 274.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5D2F

    #8A5D2F

    oklch(51.7% 0.085 64.5)

  • #17786E

    #17786E

    oklch(51.8% 0.086 184.3)

  • #735B90

    #735B90

    oklch(51.7% 0.086 304.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5D2F

    #8A5D2F

    oklch(51.7% 0.085 64.5)

  • #3C7752

    #3C7752

    oklch(51.9% 0.086 154.5)

  • #3A6D96

    #3A6D96

    oklch(51.8% 0.085 244.8)

  • #86557C

    #86557C

    oklch(51.7% 0.085 334.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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