#8A5D40

Closest named color: Cocoa (#875F42). oklch(52% 0.073 53.3), rgb(138, 93, 64).

Aa

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

About this color

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

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

Values

HEX#8A5D40
RGBrgb(138, 93, 64)
HSLhsl(24, 37%, 40%)
OKLCHoklch(52% 0.073 53.3)

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 #8A5D40 5.64:1 AA Lc -83.4 Fine for body text
Black text on #8A5D40 3.72:1 AA large text Lc 26.0 Dividers and decoration only
#8A5D40 text on white 5.64:1 AA Lc 78.1 Fine for body text
#8A5D40 text on black 3.72:1 AA large text Lc -23.7 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

    #F0E8E4

    oklch(93.6% 0.01 48.6)

  3. Step 200

    200

    #E4D6CD

    oklch(88.5% 0.02 55.1)

  4. Step 300

    300

    #D4BBAC

    oklch(80.9% 0.035 53)

  5. Step 400

    400

    #BD9880

    oklch(70.8% 0.056 54.6)

  6. Step 500

    500

    #AC7E60

    oklch(63.1% 0.071 54.1)

  7. Step 600

    600

    #976647

    oklch(55.5% 0.078 52.8)

  8. Step 700

    700 (this color)

    #8A5D40

    oklch(52% 0.073 53.3)

  9. Step 800

    800

    #69462F

    oklch(42.8% 0.06 53.8)

  10. Step 900

    900

    #553B2A

    oklch(37.7% 0.046 54)

  11. Step 950

    950

    #322219

    oklch(26.9% 0.029 50.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A5D40 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)#6A613E0.056
Deuteranopia (no green cones)#746B400.052
Tritanopia (no blue cones)#9554560.049
Achromatopsia (no color)#6767670.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5D40

    #8A5D40

    oklch(52% 0.073 53.3)

  • #3A708C

    #3A708C

    oklch(52% 0.072 233.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5D40

    #8A5D40

    oklch(52% 0.073 53.3)

  • #8E5855

    #8E5855

    oklch(52% 0.072 23.3)

  • #7D6535

    #7D6535

    oklch(52% 0.073 83.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A5D40

    #8A5D40

    oklch(52% 0.073 53.3)

  • #2A757C

    #2A757C

    oklch(52% 0.073 203.9)

  • #536993

    #536993

    oklch(52.1% 0.072 262.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5D40

    #8A5D40

    oklch(52% 0.073 53.3)

  • #367765

    #367765

    oklch(52.1% 0.073 172.8)

  • #6A618F

    #6A618F

    oklch(52% 0.072 292.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5D40

    #8A5D40

    oklch(52% 0.073 53.3)

  • #4F744D

    #4F744D

    oklch(52% 0.073 143.2)

  • #3A708C

    #3A708C

    oklch(52% 0.072 233.1)

  • #7D5A81

    #7D5A81

    oklch(51.8% 0.073 323.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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