#8A5839

Closest named color: Cocoa (#875F42). oklch(50.9% 0.08 51.9), rgb(138, 88, 57).

Aa

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

About this color

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

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

Values

HEX#8A5839
RGBrgb(138, 88, 57)
HSLhsl(23, 42%, 38%)
OKLCHoklch(50.9% 0.08 51.9)

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 #8A5839 5.93:1 AA Lc -84.7 Fine for body text
Black text on #8A5839 3.53:1 AA large text Lc 24.5 Dividers and decoration only
#8A5839 text on white 5.93:1 AA Lc 79.5 Fine for body text
#8A5839 text on black 3.53:1 AA large text Lc -22.3 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

    #F8F4F2

    oklch(97% 0.005 48.7)

  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

    #D6BAAA

    oklch(80.9% 0.039 51.6)

  5. Step 400

    400

    #C1967D

    oklch(70.7% 0.063 51.6)

  6. Step 500

    500

    #B07C5C

    oklch(63.1% 0.079 52.4)

  7. Step 600

    600

    #9B6442

    oklch(55.5% 0.086 51.9)

  8. Step 700

    700 (this color)

    #8A5839

    oklch(50.9% 0.08 51.9)

  9. Step 800

    800

    #6C442C

    oklch(42.7% 0.066 51.1)

  10. Step 900

    900

    #583A27

    oklch(37.8% 0.052 52.9)

  11. Step 950

    950

    #332217

    oklch(27% 0.033 53.8)

Export this scale for Tailwind in the Tailwind colors tool

#8A5839 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)#665D360.065
Deuteranopia (no green cones)#7268390.059
Tritanopia (no blue cones)#964E500.052
Achromatopsia (no color)#6464640.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5839

    #8A5839

    oklch(50.9% 0.08 51.9)

  • #2E6E8C

    #2E6E8C

    oklch(51% 0.08 231.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5839

    #8A5839

    oklch(50.9% 0.08 51.9)

  • #8E5251

    #8E5251

    oklch(50.8% 0.081 21.3)

  • #7D612B

    #7D612B

    oklch(50.9% 0.08 81.6)

Open the analogous palette in the generator

Split complementary

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

  • #8A5839

    #8A5839

    oklch(50.9% 0.08 51.9)

  • #187379

    #187379

    oklch(50.8% 0.08 201.8)

  • #4C6694

    #4C6694

    oklch(51% 0.08 261.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5839

    #8A5839

    oklch(50.9% 0.08 51.9)

  • #2B7560

    #2B7560

    oklch(51% 0.081 171.2)

  • #675D90

    #675D90

    oklch(50.9% 0.08 292.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5839

    #8A5839

    oklch(50.9% 0.08 51.9)

  • #4A7146

    #4A7146

    oklch(50.8% 0.08 142.2)

  • #2E6E8C

    #2E6E8C

    oklch(51% 0.08 231.7)

  • #7B5681

    #7B5681

    oklch(50.9% 0.08 321.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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