#8A7140

Closest named color: Dirt (#8A6E45). oklch(56.1% 0.074 83), rgb(138, 113, 64).

Aa

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

About this color

#8A7140 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 56%, its chroma 0.074 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt (#8A6E45), ΔE 0.012 away. White text reads best on it, at 4.64:1.

Hue familyBrowns
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.51:1
White text4.64:1

Values

HEX#8A7140
RGBrgb(138, 113, 64)
HSLhsl(40, 37%, 40%)
OKLCHoklch(56.1% 0.074 83)

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 #8A7140 4.64:1 AA Lc -77.7 Fine for body text
Black text on #8A7140 4.51:1 AA Lc 31.8 Non-text elements, placeholder text
#8A7140 text on white 4.64:1 AA Lc 72.2 Content text, not long reading
#8A7140 text on black 4.51:1 AA Lc -29.4 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

    #EDE9E3

    oklch(93.5% 0.009 78.3)

  3. Step 200

    200

    #DFD8CC

    oklch(88.4% 0.018 81.3)

  4. Step 300

    300

    #CBBFA9

    oklch(80.9% 0.033 82.7)

  5. Step 400

    400

    #B19E7B

    oklch(70.7% 0.053 82.6)

  6. Step 500

    500

    #9E8659

    oklch(63.1% 0.068 82.6)

  7. Step 600

    600 (this color)

    #8A7140

    oklch(56.1% 0.074 83)

  8. Step 700

    700

    #745D30

    oklch(49.1% 0.069 82.7)

  9. Step 800

    800

    #5E4C29

    oklch(42.7% 0.056 82.8)

  10. Step 900

    900

    #4D4025

    oklch(37.8% 0.045 84.6)

  11. Step 950

    950

    #2D2516

    oklch(26.9% 0.028 82.6)

Export this scale for Tailwind in the Tailwind colors tool

#8A7140 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)#7C713C0.024
Deuteranopia (no green cones)#8277420.020
Tritanopia (no blue cones)#9469650.065
Achromatopsia (no color)#7474740.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A7140

    #8A7140

    oklch(56.1% 0.074 83)

  • #5E75A1

    #5E75A1

    oklch(56.2% 0.074 262.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A7140

    #8A7140

    oklch(56.1% 0.074 83)

  • #97694B

    #97694B

    oklch(56.2% 0.073 53.8)

  • #757A45

    #757A45

    oklch(56.2% 0.075 113.2)

Open the analogous palette in the generator

Split complementary

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

  • #8A7140

    #8A7140

    oklch(56.1% 0.074 83)

  • #457C99

    #457C99

    oklch(56% 0.074 233.2)

  • #766D9D

    #766D9D

    oklch(56.2% 0.074 292.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A7140

    #8A7140

    oklch(56.1% 0.074 83)

  • #378288

    #378288

    oklch(56.2% 0.074 202.5)

  • #8A668E

    #8A668E

    oklch(56.1% 0.074 323.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A7140

    #8A7140

    oklch(56.1% 0.074 83)

  • #428371

    #428371

    oklch(56.1% 0.073 173.3)

  • #5E75A1

    #5E75A1

    oklch(56.2% 0.074 262.9)

  • #976379

    #976379

    oklch(56.2% 0.073 352.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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