#8A5F24

Closest named color: Dirt Brown (#836539). oklch(52% 0.093 71.4), rgb(138, 95, 36).

Aa

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

About this color

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

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

Values

HEX#8A5F24
RGBrgb(138, 95, 36)
HSLhsl(35, 59%, 34%)
OKLCHoklch(52% 0.093 71.4)

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 #8A5F24 5.61:1 AA Lc -83.2 Fine for body text
Black text on #8A5F24 3.74:1 AA large text Lc 26.2 Dividers and decoration only
#8A5F24 text on white 5.61:1 AA Lc 77.9 Fine for body text
#8A5F24 text on black 3.74:1 AA large text Lc -23.9 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

    #EFE9E1

    oklch(93.7% 0.013 75.4)

  3. Step 200

    200

    #E4D7C8

    oklch(88.6% 0.025 71.4)

  4. Step 300

    300

    #D3BCA2

    oklch(80.8% 0.044 70.6)

  5. Step 400

    400

    #BD996F

    oklch(70.6% 0.071 70.6)

  6. Step 500

    500

    #AC8047

    oklch(63.1% 0.092 71.9)

  7. Step 600

    600

    #976828

    oklch(55.5% 0.099 71.2)

  8. Step 700

    700 (this color)

    #8A5F24

    oklch(52% 0.093 71.4)

  9. Step 800

    800

    #694718

    oklch(42.7% 0.077 71.4)

  10. Step 900

    900

    #553C1B

    oklch(37.7% 0.059 71.9)

  11. Step 950

    950

    #322311

    oklch(26.9% 0.037 70.2)

Export this scale for Tailwind in the Tailwind colors tool

#8A5F24 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)#6E611D0.051
Deuteranopia (no green cones)#786C260.045
Tritanopia (no blue cones)#9654530.077
Achromatopsia (no color)#6868680.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A5F24

    #8A5F24

    oklch(52% 0.093 71.4)

  • #3E6C9D

    #3E6C9D

    oklch(52.1% 0.093 251.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A5F24

    #8A5F24

    oklch(52% 0.093 71.4)

  • #95553D

    #95553D

    oklch(51.9% 0.093 41.1)

  • #746A21

    #746A21

    oklch(51.9% 0.093 101.4)

Open the analogous palette in the generator

Split complementary

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

  • #8A5F24

    #8A5F24

    oklch(52% 0.093 71.4)

  • #0C748F

    #0C748F

    oklch(51.9% 0.093 222.1)

  • #60629D

    #60629D

    oklch(52% 0.092 281.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A5F24

    #8A5F24

    oklch(52% 0.093 71.4)

  • #007976

    #007976

    oklch(52% 0.089 191.7)

  • #7A5990

    #7A5990

    oklch(52% 0.092 311)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A5F24

    #8A5F24

    oklch(52% 0.093 71.4)

  • #2D7958

    #2D7958

    oklch(51.9% 0.092 161.7)

  • #3E6C9D

    #3E6C9D

    oklch(52.1% 0.093 251.4)

  • #8D5278

    #8D5278

    oklch(51.9% 0.094 341.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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