#8A5017

Closest named color: Medium Brown (#7F5112). oklch(48.9% 0.103 59.9), rgb(138, 80, 23).

Aa

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

About this color

#8A5017 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.103 and its hue 60°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Brown (#7F5112), ΔE 0.022 away. White text reads best on it, at 6.48:1.

Hue familyBrowns
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameMedium Brown (#7F5112)
Black text3.24:1
White text6.48:1

Values

HEX#8A5017
RGBrgb(138, 80, 23)
HSLhsl(30, 71%, 32%)
OKLCHoklch(48.9% 0.103 59.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 #8A5017 6.48:1 AA Lc -86.9 Fine for body text
Black text on #8A5017 3.24:1 AA large text Lc 22.2 Dividers and decoration only
#8A5017 text on white 6.48:1 AA Lc 81.8 Fine for body text
#8A5017 text on black 3.24:1 AA large text Lc -20.1 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

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F1E8E0

    oklch(93.6% 0.015 64.3)

  3. Step 200

    200

    #E8D5C7

    oklch(88.5% 0.028 58.8)

  4. Step 300

    300

    #DABAA1

    oklch(81% 0.05 60)

  5. Step 400

    400

    #C6956D

    oklch(70.7% 0.08 60.2)

  6. Step 500

    500

    #B77A46

    oklch(63.2% 0.102 59.8)

  7. Step 600

    600

    #A26225

    oklch(55.7% 0.111 60.3)

  8. Step 700

    700 (this color)

    #8A5017

    oklch(48.9% 0.103 59.9)

  9. Step 800

    800

    #714217

    oklch(42.7% 0.086 59.2)

  10. Step 900

    900

    #5B381A

    oklch(37.6% 0.066 59.2)

  11. Step 950

    950

    #362110

    oklch(27% 0.043 58.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A5017 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)#62560D0.076
Deuteranopia (no green cones)#6F63170.068
Tritanopia (no blue cones)#9743450.073
Achromatopsia (no color)#5E5E5E0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5017

    #8A5017

    oklch(48.9% 0.103 59.9)

  • #166794

    #166794

    oklch(49% 0.103 239.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5017

    #8A5017

    oklch(48.9% 0.103 59.9)

  • #92473C

    #92473C

    oklch(49% 0.104 29.9)

  • #765D00

    #765D00

    oklch(49% 0.1 90.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A5017

    #8A5017

    oklch(48.9% 0.103 59.9)

  • #006D7B

    #006D7B

    oklch(49% 0.085 210.2)

  • #495C9B

    #495C9B

    oklch(48.9% 0.104 269.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5017

    #8A5017

    oklch(48.9% 0.103 59.9)

  • #007062

    #007062

    oklch(48.9% 0.089 180.2)

  • #695192

    #695192

    oklch(48.8% 0.104 299.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5017

    #8A5017

    oklch(48.9% 0.103 59.9)

  • #2D703F

    #2D703F

    oklch(48.9% 0.103 149.8)

  • #166794

    #166794

    oklch(49% 0.103 239.5)

  • #80497C

    #80497C

    oklch(48.9% 0.103 329.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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