#8A5D27

Closest named color: Dirt Brown (#836539). oklch(51.6% 0.091 68.1), rgb(138, 93, 39).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.67:1
White text5.71:1

Values

HEX#8A5D27
RGBrgb(138, 93, 39)
HSLhsl(33, 56%, 35%)
OKLCHoklch(51.6% 0.091 68.1)

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 #8A5D27 5.71:1 AA Lc -83.7 Fine for body text
Black text on #8A5D27 3.67:1 AA large text Lc 25.7 Dividers and decoration only
#8A5D27 text on white 5.71:1 AA Lc 78.4 Fine for body text
#8A5D27 text on black 3.67:1 AA large text Lc -23.4 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

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E8E1

    oklch(93.5% 0.013 63.9)

  3. Step 200

    200

    #E4D7C8

    oklch(88.6% 0.025 71.4)

  4. Step 300

    300

    #D4BCA3

    oklch(80.9% 0.044 68.3)

  5. Step 400

    400

    #BE9971

    oklch(70.7% 0.07 68.5)

  6. Step 500

    500

    #AE7F4B

    oklch(63.2% 0.09 67.7)

  7. Step 600

    600

    #99672C

    oklch(55.5% 0.098 67.6)

  8. Step 700

    700 (this color)

    #8A5D27

    oklch(51.6% 0.091 68.1)

  9. Step 800

    800

    #6A461C

    oklch(42.6% 0.075 67.3)

  10. Step 900

    900

    #563B1D

    oklch(37.6% 0.058 67.3)

  11. Step 950

    950

    #322312

    oklch(27% 0.036 68.7)

Export this scale for Tailwind in the Tailwind colors tool

#8A5D27 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)#6C60210.054
Deuteranopia (no green cones)#776B280.049
Tritanopia (no blue cones)#9652510.072
Achromatopsia (no color)#6666660.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5D27

    #8A5D27

    oklch(51.6% 0.091 68.1)

  • #3A6C9A

    #3A6C9A

    oklch(51.7% 0.091 248.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5D27

    #8A5D27

    oklch(51.6% 0.091 68.1)

  • #945440

    #945440

    oklch(51.6% 0.091 38.1)

  • #766821

    #766821

    oklch(51.6% 0.091 97.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A5D27

    #8A5D27

    oklch(51.6% 0.091 68.1)

  • #08748B

    #08748B

    oklch(51.7% 0.091 218.4)

  • #5C629C

    #5C629C

    oklch(51.7% 0.092 278.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5D27

    #8A5D27

    oklch(51.6% 0.091 68.1)

  • #007871

    #007871

    oklch(51.6% 0.09 187.7)

  • #765990

    #765990

    oklch(51.6% 0.091 307.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5D27

    #8A5D27

    oklch(51.6% 0.091 68.1)

  • #327854

    #327854

    oklch(51.7% 0.091 158.3)

  • #3A6C9A

    #3A6C9A

    oklch(51.7% 0.091 248.2)

  • #89527A

    #89527A

    oklch(51.5% 0.091 337.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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