#8A5222

Closest named color: Milk Chocolate (#7F4E1E). oklch(49.4% 0.097 58), rgb(138, 82, 34).

Aa

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

About this color

#8A5222 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 49%, its chroma 0.097 and its hue 58°. Its hue sits on the warm side of the wheel. The nearest named color is Milk Chocolate (#7F4E1E), ΔE 0.025 away. White text reads best on it, at 6.34:1.

Hue familyBrowns
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameMilk Chocolate (#7F4E1E)
Black text3.31:1
White text6.34:1

Values

HEX#8A5222
RGBrgb(138, 82, 34)
HSLhsl(28, 60%, 34%)
OKLCHoklch(49.4% 0.097 58)

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 #8A5222 6.34:1 AA Lc -86.4 Fine for body text
Black text on #8A5222 3.31:1 AA large text Lc 22.8 Dividers and decoration only
#8A5222 text on white 6.34:1 AA Lc 81.3 Fine for body text
#8A5222 text on black 3.31:1 AA large text Lc -20.6 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

    #F1E8E1

    oklch(93.6% 0.014 60.6)

  3. Step 200

    200

    #E7D5C9

    oklch(88.4% 0.026 56)

  4. Step 300

    300

    #D9BAA3

    oklch(81% 0.048 58.6)

  5. Step 400

    400

    #C59572

    oklch(70.7% 0.075 57.3)

  6. Step 500

    500

    #B57A4C

    oklch(63% 0.096 57.8)

  7. Step 600

    600

    #A0622E

    oklch(55.5% 0.105 58)

  8. Step 700

    700 (this color)

    #8A5222

    oklch(49.4% 0.097 58)

  9. Step 800

    800

    #6F431D

    oklch(42.7% 0.08 58.8)

  10. Step 900

    900

    #5A391E

    oklch(37.7% 0.062 58.6)

  11. Step 950

    950

    #352112

    oklch(26.9% 0.04 56.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A5222 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)#63581C0.073
Deuteranopia (no green cones)#7064220.065
Tritanopia (no blue cones)#9746480.068
Achromatopsia (no color)#5F5F5F0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5222

    #8A5222

    oklch(49.4% 0.097 58)

  • #1D6992

    #1D6992

    oklch(49.5% 0.097 237.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5222

    #8A5222

    oklch(49.4% 0.097 58)

  • #914A42

    #914A42

    oklch(49.5% 0.097 27.8)

  • #795E0B

    #795E0B

    oklch(49.6% 0.097 88.1)

Open the analogous palette in the generator

Split complementary

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

  • #8A5222

    #8A5222

    oklch(49.4% 0.097 58)

  • #006F7B

    #006F7B

    oklch(49.5% 0.085 207.8)

  • #4A5E99

    #4A5E99

    oklch(49.3% 0.098 268.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5222

    #8A5222

    oklch(49.4% 0.097 58)

  • #007262

    #007262

    oklch(49.4% 0.091 178.5)

  • #695491

    #695491

    oklch(49.4% 0.097 298.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5222

    #8A5222

    oklch(49.4% 0.097 58)

  • #367041

    #367041

    oklch(49.3% 0.096 148.2)

  • #1D6992

    #1D6992

    oklch(49.5% 0.097 237.6)

  • #7F4C7D

    #7F4C7D

    oklch(49.3% 0.097 328.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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