#8A6742

Closest named color: Dirt Brown (#836539). oklch(54.1% 0.069 67.1), rgb(138, 103, 66).

Aa

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

About this color

#8A6742 is a medium-dark, muted brown. In OKLCH its lightness is 54%, its chroma 0.069 and its hue 67°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.018 away. White text reads best on it, at 5.12:1.

Hue familyBrowns
Lightnessmedium-dark (54%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text4.09:1
White text5.12:1

Values

HEX#8A6742
RGBrgb(138, 103, 66)
HSLhsl(31, 35%, 40%)
OKLCHoklch(54.1% 0.069 67.1)

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 #8A6742 5.12:1 AA Lc -80.6 Fine for body text
Black text on #8A6742 4.09:1 AA large text Lc 28.8 Dividers and decoration only
#8A6742 text on white 5.12:1 AA Lc 75.2 Fine for body text
#8A6742 text on black 4.09:1 AA large text Lc -26.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 600.

  1. Step 50

    50

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E4

    oklch(93.7% 0.009 67.7)

  3. Step 200

    200

    #E1D7CD

    oklch(88.4% 0.018 67.6)

  4. Step 300

    300

    #CFBDAC

    oklch(80.9% 0.031 65.7)

  5. Step 400

    400

    #B69B80

    oklch(70.7% 0.05 66.9)

  6. Step 500

    500

    #A48260

    oklch(63.1% 0.063 66.2)

  7. Step 600

    600 (this color)

    #8A6742

    oklch(54.1% 0.069 67.1)

  8. Step 700

    700

    #795A38

    oklch(49.2% 0.064 68)

  9. Step 800

    800

    #63492F

    oklch(42.7% 0.053 65.6)

  10. Step 900

    900

    #513D29

    oklch(37.7% 0.042 66)

  11. Step 950

    950

    #2F2419

    oklch(27% 0.025 66.4)

Export this scale for Tailwind in the Tailwind colors tool

#8A6742 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)#73693F0.040
Deuteranopia (no green cones)#7B71430.036
Tritanopia (no blue cones)#955F5E0.055
Achromatopsia (no color)#6E6E6E0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6742

    #8A6742

    oklch(54.1% 0.069 67.1)

  • #4D7395

    #4D7395

    oklch(54.1% 0.069 246.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6742

    #8A6742

    oklch(54.1% 0.069 67.1)

  • #926152

    #926152

    oklch(54.1% 0.068 37.8)

  • #7A6F3F

    #7A6F3F

    oklch(54% 0.068 96.8)

Open the analogous palette in the generator

Split complementary

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

  • #8A6742

    #8A6742

    oklch(54.1% 0.069 67.1)

  • #3A7989

    #3A7989

    oklch(54.1% 0.069 216.7)

  • #646B97

    #646B97

    oklch(54% 0.069 276.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6742

    #8A6742

    oklch(54.1% 0.069 67.1)

  • #397C76

    #397C76

    oklch(54.1% 0.069 187.5)

  • #79648E

    #79648E

    oklch(54% 0.069 307)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6742

    #8A6742

    oklch(54.1% 0.069 67.1)

  • #4B7B5F

    #4B7B5F

    oklch(54% 0.069 157.5)

  • #4D7395

    #4D7395

    oklch(54.1% 0.069 246.5)

  • #895F7D

    #895F7D

    oklch(54% 0.069 337.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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