#8A5218

Closest named color: Medium Brown (#7F5112). oklch(49.3% 0.102 61.5), rgb(138, 82, 24).

Aa

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

About this color

#8A5218 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.102 and its hue 61°. 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.36:1.

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

Values

HEX#8A5218
RGBrgb(138, 82, 24)
HSLhsl(31, 70%, 32%)
OKLCHoklch(49.3% 0.102 61.5)

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 #8A5218 6.36:1 AA Lc -86.5 Fine for body text
Black text on #8A5218 3.30:1 AA large text Lc 22.7 Dividers and decoration only
#8A5218 text on white 6.36:1 AA Lc 81.3 Fine for body text
#8A5218 text on black 3.30:1 AA large text Lc -20.5 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

    #E7D6C7

    oklch(88.6% 0.028 63.9)

  4. Step 300

    300

    #D9BAA1

    oklch(80.9% 0.049 60.9)

  5. Step 400

    400

    #C5966D

    oklch(70.8% 0.079 62.1)

  6. Step 500

    500

    #B57B45

    oklch(63.1% 0.101 62.2)

  7. Step 600

    600

    #A16325

    oklch(55.7% 0.11 61.6)

  8. Step 700

    700 (this color)

    #8A5218

    oklch(49.3% 0.102 61.5)

  9. Step 800

    800

    #704316

    oklch(42.8% 0.085 61.5)

  10. Step 900

    900

    #5A3919

    oklch(37.7% 0.066 62.6)

  11. Step 950

    950

    #352110

    oklch(26.9% 0.042 60)

Export this scale for Tailwind in the Tailwind colors tool

#8A5218 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)#63570E0.073
Deuteranopia (no green cones)#7164190.064
Tritanopia (no blue cones)#9745470.075
Achromatopsia (no color)#5F5F5F0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5218

    #8A5218

    oklch(49.3% 0.102 61.5)

  • #1D6796

    #1D6796

    oklch(49.3% 0.103 241.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5218

    #8A5218

    oklch(49.3% 0.102 61.5)

  • #92493C

    #92493C

    oklch(49.3% 0.101 31.5)

  • #765E00

    #765E00

    oklch(49.2% 0.101 91.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A5218

    #8A5218

    oklch(49.3% 0.102 61.5)

  • #006E7D

    #006E7D

    oklch(49.4% 0.086 211.1)

  • #4D5D9B

    #4D5D9B

    oklch(49.4% 0.101 271.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5218

    #8A5218

    oklch(49.3% 0.102 61.5)

  • #007165

    #007165

    oklch(49.2% 0.088 182.2)

  • #6C5292

    #6C5292

    oklch(49.3% 0.103 301.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5218

    #8A5218

    oklch(49.3% 0.102 61.5)

  • #2C7143

    #2C7143

    oklch(49.2% 0.101 151.8)

  • #1D6796

    #1D6796

    oklch(49.3% 0.103 241.8)

  • #824A7B

    #824A7B

    oklch(49.3% 0.102 331.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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