#8A5F3D

Closest named color: Cocoa (#875F42). oklch(52.3% 0.074 58.5), rgb(138, 95, 61).

Aa

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

About this color

#8A5F3D is a medium-dark, moderately saturated brown. In OKLCH its lightness is 52%, its chroma 0.074 and its hue 59°. 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.54:1.

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

Values

HEX#8A5F3D
RGBrgb(138, 95, 61)
HSLhsl(26, 39%, 39%)
OKLCHoklch(52.3% 0.074 58.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 #8A5F3D 5.54:1 AA Lc -82.9 Fine for body text
Black text on #8A5F3D 3.78:1 AA large text Lc 26.5 Dividers and decoration only
#8A5F3D text on white 5.54:1 AA Lc 77.6 Fine for body text
#8A5F3D text on black 3.78:1 AA large text Lc -24.2 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

    #EFE8E3

    oklch(93.5% 0.01 58.2)

  3. Step 200

    200

    #E4D6CC

    oklch(88.5% 0.021 58)

  4. Step 300

    300

    #D3BCAA

    oklch(81% 0.036 60.3)

  5. Step 400

    400

    #BC987D

    oklch(70.6% 0.057 58.5)

  6. Step 500

    500

    #AB7F5C

    oklch(63.1% 0.073 59.4)

  7. Step 600

    600

    #966742

    oklch(55.5% 0.08 58.4)

  8. Step 700

    700 (this color)

    #8A5F3D

    oklch(52.3% 0.074 58.5)

  9. Step 800

    800

    #68462C

    oklch(42.6% 0.061 57.6)

  10. Step 900

    900

    #553B27

    oklch(37.7% 0.048 58.2)

  11. Step 950

    950

    #322317

    oklch(27.1% 0.031 59.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F3D 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)#6C633A0.053
Deuteranopia (no green cones)#766C3D0.048
Tritanopia (no blue cones)#9556570.054
Achromatopsia (no color)#6868680.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F3D

    #8A5F3D

    oklch(52.3% 0.074 58.5)

  • #3E7090

    #3E7090

    oklch(52.4% 0.074 238.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F3D

    #8A5F3D

    oklch(52.3% 0.074 58.5)

  • #905951

    #905951

    oklch(52.3% 0.074 28.8)

  • #7B6834

    #7B6834

    oklch(52.4% 0.075 89.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F3D

    #8A5F3D

    oklch(52.3% 0.074 58.5)

  • #2A7681

    #2A7681

    oklch(52.4% 0.075 208.6)

  • #586895

    #586895

    oklch(52.3% 0.074 268.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F3D

    #8A5F3D

    oklch(52.3% 0.074 58.5)

  • #31786A

    #31786A

    oklch(52.3% 0.075 178.2)

  • #6F608F

    #6F608F

    oklch(52.2% 0.075 298.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F3D

    #8A5F3D

    oklch(52.3% 0.074 58.5)

  • #4B7652

    #4B7652

    oklch(52.4% 0.074 148.5)

  • #3E7090

    #3E7090

    oklch(52.4% 0.074 238.5)

  • #825A7F

    #825A7F

    oklch(52.3% 0.075 329.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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