#8A5D21

Closest named color: Dirt Brown (#836539). oklch(51.6% 0.095 70.2), rgb(138, 93, 33).

Aa

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

About this color

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

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

Values

HEX#8A5D21
RGBrgb(138, 93, 33)
HSLhsl(34, 61%, 34%)
OKLCHoklch(51.6% 0.095 70.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 #8A5D21 5.72:1 AA Lc -83.7 Fine for body text
Black text on #8A5D21 3.66:1 AA large text Lc 25.6 Dividers and decoration only
#8A5D21 text on white 5.72:1 AA Lc 78.4 Fine for body text
#8A5D21 text on black 3.66: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

    #E4D7C7

    oklch(88.5% 0.026 73.2)

  4. Step 300

    300

    #D4BCA1

    oklch(80.9% 0.046 70.4)

  5. Step 400

    400

    #BE996E

    oklch(70.7% 0.073 70.4)

  6. Step 500

    500

    #AE7F46

    oklch(63.1% 0.094 70)

  7. Step 600

    600

    #996826

    oklch(55.7% 0.102 70.5)

  8. Step 700

    700 (this color)

    #8A5D21

    oklch(51.6% 0.095 70.2)

  9. Step 800

    800

    #6A4717

    oklch(42.8% 0.079 70.9)

  10. Step 900

    900

    #563B1A

    oklch(37.6% 0.061 69.5)

  11. Step 950

    950

    #332310

    oklch(27.1% 0.039 69.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A5D21 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)#6C60190.055
Deuteranopia (no green cones)#776A230.047
Tritanopia (no blue cones)#9752510.077
Achromatopsia (no color)#6666660.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5D21

    #8A5D21

    oklch(51.6% 0.095 70.2)

  • #3A6B9C

    #3A6B9C

    oklch(51.6% 0.095 250.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5D21

    #8A5D21

    oklch(51.6% 0.095 70.2)

  • #95533C

    #95533C

    oklch(51.5% 0.095 39.8)

  • #74691C

    #74691C

    oklch(51.6% 0.095 100.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A5D21

    #8A5D21

    oklch(51.6% 0.095 70.2)

  • #00748D

    #00748D

    oklch(51.7% 0.094 219.7)

  • #5D619D

    #5D619D

    oklch(51.6% 0.094 279.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5D21

    #8A5D21

    oklch(51.6% 0.095 70.2)

  • #007873

    #007873

    oklch(51.7% 0.089 189.7)

  • #795790

    #795790

    oklch(51.5% 0.095 310.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5D21

    #8A5D21

    oklch(51.6% 0.095 70.2)

  • #2B7855

    #2B7855

    oklch(51.5% 0.094 160.5)

  • #3A6B9C

    #3A6B9C

    oklch(51.6% 0.095 250.1)

  • #8C5179

    #8C5179

    oklch(51.7% 0.095 340.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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