#8A6042

Closest named color: Cocoa (#875F42). oklch(52.6% 0.07 56.1), rgb(138, 96, 66).

Aa

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

About this color

#8A6042 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 53%, its chroma 0.070 and its hue 56°. Its hue sits on the warm side of the wheel. The nearest named color is Cocoa (#875F42), ΔE 0.006 away. White text reads best on it, at 5.47:1.

Hue familyBrowns
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.83:1
White text5.47:1

Values

HEX#8A6042
RGBrgb(138, 96, 66)
HSLhsl(25, 35%, 40%)
OKLCHoklch(52.6% 0.07 56.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 #8A6042 5.47:1 AA Lc -82.6 Fine for body text
Black text on #8A6042 3.83:1 AA large text Lc 26.8 Dividers and decoration only
#8A6042 text on white 5.47:1 AA Lc 77.2 Fine for body text
#8A6042 text on black 3.83:1 AA large text Lc -24.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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E4

    oklch(93.5% 0.009 52.1)

  3. Step 200

    200

    #E3D6CE

    oklch(88.4% 0.018 54)

  4. Step 300

    300

    #D1BCAE

    oklch(80.9% 0.031 55.9)

  5. Step 400

    400

    #BA9983

    oklch(70.7% 0.05 55.4)

  6. Step 500

    500

    #A88063

    oklch(63.1% 0.065 57.2)

  7. Step 600

    600 (this color)

    #8A6042

    oklch(52.6% 0.07 56.1)

  8. Step 700

    700

    #7D573B

    oklch(49.1% 0.065 56.9)

  9. Step 800

    800

    #664731

    oklch(42.7% 0.054 56.1)

  10. Step 900

    900

    #533C2C

    oklch(37.7% 0.042 55.9)

  11. Step 950

    950

    #31231A

    oklch(27% 0.027 54)

Export this scale for Tailwind in the Tailwind colors tool

#8A6042 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)#6C64400.052
Deuteranopia (no green cones)#766D420.048
Tritanopia (no blue cones)#9558580.048
Achromatopsia (no color)#6969690.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A6042

    #8A6042

    oklch(52.6% 0.07 56.1)

  • #40718E

    #40718E

    oklch(52.6% 0.07 236.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A6042

    #8A6042

    oklch(52.6% 0.07 56.1)

  • #8F5B55

    #8F5B55

    oklch(52.7% 0.07 26.9)

  • #7D6839

    #7D6839

    oklch(52.7% 0.07 85.9)

Open the analogous palette in the generator

Split complementary

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

  • #8A6042

    #8A6042

    oklch(52.6% 0.07 56.1)

  • #31767F

    #31767F

    oklch(52.6% 0.07 207)

  • #586A94

    #586A94

    oklch(52.7% 0.07 266.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A6042

    #8A6042

    oklch(52.6% 0.07 56.1)

  • #387869

    #387869

    oklch(52.6% 0.07 176)

  • #6E628F

    #6E628F

    oklch(52.5% 0.071 296.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A6042

    #8A6042

    oklch(52.6% 0.07 56.1)

  • #507652

    #507652

    oklch(52.7% 0.07 145.8)

  • #40718E

    #40718E

    oklch(52.6% 0.07 236.2)

  • #805C81

    #805C81

    oklch(52.6% 0.071 325.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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