#8A6831

Closest named color: Dirt Brown (#836539). oklch(54% 0.084 77.3), rgb(138, 104, 49).

Aa

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

About this color

#8A6831 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 54%, its chroma 0.084 and its hue 77°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.018 away. White text reads best on it, at 5.11:1.

Hue familyBrowns
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text4.10:1
White text5.11:1

Values

HEX#8A6831
RGBrgb(138, 104, 49)
HSLhsl(37, 48%, 37%)
OKLCHoklch(54% 0.084 77.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 #8A6831 5.11:1 AA Lc -80.6 Fine for body text
Black text on #8A6831 4.10:1 AA large text Lc 28.9 Dividers and decoration only
#8A6831 text on white 5.11:1 AA Lc 75.2 Fine for body text
#8A6831 text on black 4.10:1 AA large text Lc -26.6 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 600.

  1. Step 50

    50

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E2

    oklch(93.6% 0.011 76.6)

  3. Step 200

    200

    #E1D8CA

    oklch(88.6% 0.021 79.1)

  4. Step 300

    300

    #CFBEA6

    oklch(80.9% 0.038 76.6)

  5. Step 400

    400

    #B69C76

    oklch(70.6% 0.06 76.9)

  6. Step 500

    500

    #A48452

    oklch(63.2% 0.078 77.8)

  7. Step 600

    600 (this color)

    #8A6831

    oklch(54% 0.084 77.3)

  8. Step 700

    700

    #795B28

    oklch(49.1% 0.078 78.4)

  9. Step 800

    800

    #634A23

    oklch(42.7% 0.065 76.6)

  10. Step 900

    900

    #513E21

    oklch(37.7% 0.051 76.8)

  11. Step 950

    950

    #2F2414

    oklch(26.9% 0.032 76.1)

Export this scale for Tailwind in the Tailwind colors tool

#8A6831 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)#75692B0.037
Deuteranopia (no green cones)#7D71330.031
Tritanopia (no blue cones)#965F5C0.072
Achromatopsia (no color)#6E6E6E0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6831

    #8A6831

    oklch(54% 0.084 77.3)

  • #4F709F

    #4F709F

    oklch(54% 0.083 257.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6831

    #8A6831

    oklch(54% 0.084 77.3)

  • #975F42

    #975F42

    oklch(54.1% 0.085 47.7)

  • #747234

    #747234

    oklch(54% 0.084 107.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A6831

    #8A6831

    oklch(54% 0.084 77.3)

  • #2F7895

    #2F7895

    oklch(54% 0.084 227.8)

  • #6C679D

    #6C679D

    oklch(54.1% 0.083 287.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6831

    #8A6831

    oklch(54% 0.084 77.3)

  • #1D7E80

    #1D7E80

    oklch(54.1% 0.085 197.1)

  • #835F8F

    #835F8F

    oklch(54.1% 0.084 317.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6831

    #8A6831

    oklch(54% 0.084 77.3)

  • #357E65

    #357E65

    oklch(53.9% 0.083 167.9)

  • #4F709F

    #4F709F

    oklch(54% 0.083 257.3)

  • #935A78

    #935A78

    oklch(54.1% 0.085 347.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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