#8A5D17

Closest named color: Dirt Brown (#836539). oklch(51.5% 0.1 72.8), rgb(138, 93, 23).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text3.65:1
White text5.73:1

Values

HEX#8A5D17
RGBrgb(138, 93, 23)
HSLhsl(37, 71%, 32%)
OKLCHoklch(51.5% 0.1 72.8)

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 #8A5D17 5.73:1 AA Lc -83.7 Fine for body text
Black text on #8A5D17 3.65:1 AA large text Lc 25.6 Dividers and decoration only
#8A5D17 text on white 5.73:1 AA Lc 78.5 Fine for body text
#8A5D17 text on black 3.65:1 AA large text Lc -23.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

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E9E0

    oklch(93.7% 0.014 74.4)

  3. Step 200

    200

    #E4D7C6

    oklch(88.5% 0.027 74.7)

  4. Step 300

    300

    #D4BC9F

    oklch(80.8% 0.048 72.3)

  5. Step 400

    400

    #BE996A

    oklch(70.6% 0.077 72.7)

  6. Step 500

    500

    #AE7F40

    oklch(63% 0.099 72.3)

  7. Step 600

    600

    #99681C

    oklch(55.6% 0.107 73)

  8. Step 700

    700 (this color)

    #8A5D17

    oklch(51.5% 0.1 72.8)

  9. Step 800

    800

    #6A470F

    oklch(42.7% 0.083 73.6)

  10. Step 900

    900

    #563C16

    oklch(37.7% 0.064 73.8)

  11. Step 950

    950

    #33230E

    oklch(27% 0.041 72)

Export this scale for Tailwind in the Tailwind colors tool

#8A5D17 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)#6D60090.054
Deuteranopia (no green cones)#776A190.047
Tritanopia (no blue cones)#9751500.084
Achromatopsia (no color)#6666660.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5D17

    #8A5D17

    oklch(51.5% 0.1 72.8)

  • #3A6A9F

    #3A6A9F

    oklch(51.5% 0.1 252.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5D17

    #8A5D17

    oklch(51.5% 0.1 72.8)

  • #975236

    #975236

    oklch(51.5% 0.101 42.3)

  • #726915

    #726915

    oklch(51.4% 0.1 102.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A5D17

    #8A5D17

    oklch(51.5% 0.1 72.8)

  • #00738F

    #00738F

    oklch(51.5% 0.096 222.5)

  • #605F9F

    #605F9F

    oklch(51.5% 0.1 283)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5D17

    #8A5D17

    oklch(51.5% 0.1 72.8)

  • #007775

    #007775

    oklch(51.5% 0.088 192.7)

  • #7B5590

    #7B5590

    oklch(51.4% 0.1 312.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5D17

    #8A5D17

    oklch(51.5% 0.1 72.8)

  • #1E7956

    #1E7956

    oklch(51.5% 0.101 162.6)

  • #3A6A9F

    #3A6A9F

    oklch(51.5% 0.1 252.4)

  • #8E4F77

    #8E4F77

    oklch(51.5% 0.099 342.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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