#8A542F

Closest named color: Cocoa (#875F42). oklch(50% 0.089 53.6), rgb(138, 84, 47).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameCocoa (#875F42)
Black text3.38:1
White text6.19:1

Values

HEX#8A542F
RGBrgb(138, 84, 47)
HSLhsl(24, 49%, 36%)
OKLCHoklch(50% 0.089 53.6)

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 #8A542F 6.19:1 AA Lc -85.8 Fine for body text
Black text on #8A542F 3.38:1 AA large text Lc 23.4 Dividers and decoration only
#8A542F text on white 6.19:1 AA Lc 80.7 Fine for body text
#8A542F text on black 3.38:1 AA large text Lc -21.2 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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F1E8E2

    oklch(93.6% 0.013 56.2)

  3. Step 200

    200

    #E6D5CB

    oklch(88.4% 0.023 52.7)

  4. Step 300

    300

    #D8BAA7

    oklch(81% 0.043 54.3)

  5. Step 400

    400

    #C39578

    oklch(70.6% 0.069 53.5)

  6. Step 500

    500

    #B37B56

    oklch(63.2% 0.087 54)

  7. Step 600

    600

    #9E633A

    oklch(55.6% 0.095 54.2)

  8. Step 700

    700 (this color)

    #8A542F

    oklch(50% 0.089 53.6)

  9. Step 800

    800

    #6E4326

    oklch(42.7% 0.073 53.5)

  10. Step 900

    900

    #593923

    oklch(37.7% 0.057 54.6)

  11. Step 950

    950

    #342115

    oklch(26.8% 0.036 52.9)

Export this scale for Tailwind in the Tailwind colors tool

#8A542F 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)#645A2B0.070
Deuteranopia (no green cones)#70662F0.065
Tritanopia (no blue cones)#96494B0.058
Achromatopsia (no color)#6161610.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #8A542F

    #8A542F

    oklch(50% 0.089 53.6)

  • #236B8E

    #236B8E

    oklch(50% 0.089 234)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #8A542F

    #8A542F

    oklch(50% 0.089 53.6)

  • #8F4E4A

    #8F4E4A

    oklch(50% 0.088 24.4)

  • #7B5E1D

    #7B5E1D

    oklch(49.9% 0.089 83.7)

Open the analogous palette in the generator

Split complementary

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

  • #8A542F

    #8A542F

    oklch(50% 0.089 53.6)

  • #007179

    #007179

    oklch(50% 0.085 203.4)

  • #496296

    #496296

    oklch(50% 0.089 263.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #8A542F

    #8A542F

    oklch(50% 0.089 53.6)

  • #17735F

    #17735F

    oklch(49.9% 0.088 173.9)

  • #665991

    #665991

    oklch(50.1% 0.088 293.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #8A542F

    #8A542F

    oklch(50% 0.089 53.6)

  • #427041

    #427041

    oklch(49.9% 0.089 143.7)

  • #236B8E

    #236B8E

    oklch(50% 0.089 234)

  • #7C5180

    #7C5180

    oklch(50% 0.089 323.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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