#8A5A38

Closest named color: Cocoa (#875F42). oklch(51.3% 0.08 55.2), rgb(138, 90, 56).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.60:1
White text5.83:1

Values

HEX#8A5A38
RGBrgb(138, 90, 56)
HSLhsl(25, 42%, 38%)
OKLCHoklch(51.3% 0.08 55.2)

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 #8A5A38 5.83:1 AA Lc -84.3 Fine for body text
Black text on #8A5A38 3.60:1 AA large text Lc 25.1 Dividers and decoration only
#8A5A38 text on white 5.83:1 AA Lc 79.0 Fine for body text
#8A5A38 text on black 3.60:1 AA large text Lc -22.8 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

    #E5D6CC

    oklch(88.5% 0.022 56.1)

  4. Step 300

    300

    #D5BBA9

    oklch(80.9% 0.039 56.8)

  5. Step 400

    400

    #BF977C

    oklch(70.7% 0.061 55.5)

  6. Step 500

    500

    #AF7D5A

    oklch(63.2% 0.079 55.7)

  7. Step 600

    600

    #9A6540

    oklch(55.5% 0.086 54.9)

  8. Step 700

    700 (this color)

    #8A5A38

    oklch(51.3% 0.08 55.2)

  9. Step 800

    800

    #6B452A

    oklch(42.8% 0.066 55.3)

  10. Step 900

    900

    #573A26

    oklch(37.7% 0.052 55.1)

  11. Step 950

    950

    #332217

    oklch(27% 0.033 53.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A5A38 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)#685F350.061
Deuteranopia (no green cones)#7369380.056
Tritanopia (no blue cones)#9650520.055
Achromatopsia (no color)#6565650.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5A38

    #8A5A38

    oklch(51.3% 0.08 55.2)

  • #336E8E

    #336E8E

    oklch(51.3% 0.079 235)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5A38

    #8A5A38

    oklch(51.3% 0.08 55.2)

  • #8F544F

    #8F544F

    oklch(51.2% 0.08 25.4)

  • #7C632C

    #7C632C

    oklch(51.3% 0.08 84.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A5A38

    #8A5A38

    oklch(51.3% 0.08 55.2)

  • #1B747D

    #1B747D

    oklch(51.3% 0.08 205.2)

  • #506695

    #506695

    oklch(51.3% 0.08 264.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5A38

    #8A5A38

    oklch(51.3% 0.08 55.2)

  • #297664

    #297664

    oklch(51.3% 0.08 174.6)

  • #6A5D90

    #6A5D90

    oklch(51.2% 0.08 295.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5A38

    #8A5A38

    oklch(51.3% 0.08 55.2)

  • #48734A

    #48734A

    oklch(51.2% 0.08 145.4)

  • #336E8E

    #336E8E

    oklch(51.3% 0.079 235)

  • #7E5680

    #7E5680

    oklch(51.2% 0.081 325.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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