#987A52

Closest named color: Mocha (#9D7651). oklch(59.9% 0.067 74), rgb(152, 122, 82).

Aa

Black text reads best on this color (5.24:1).

About this color

#987A52 is a medium-dark, muted brown. In OKLCH its lightness is 60%, its chroma 0.067 and its hue 74°. Its hue sits on the warm side of the wheel. The nearest named color is Mocha (#9D7651), ΔE 0.013 away. Black text reads best on it, at 5.24:1.

Hue familyBrowns
Lightnessmedium-dark (60%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameMocha (#9D7651)
Black text5.24:1
White text4.00:1

Values

HEX#987A52
RGBrgb(152, 122, 82)
HSLhsl(34, 30%, 46%)
OKLCHoklch(59.9% 0.067 74)

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 #987A52 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #987A52 5.24:1 AA Lc 36.8 Non-text elements, placeholder text
#987A52 text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#987A52 text on black 5.24:1 AA Lc -34.3 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F7F5F2

    oklch(97.1% 0.005 78.3)

  2. Step 100

    100

    #EEE9E3

    oklch(93.6% 0.01 72.7)

  3. Step 200

    200

    #E1D8CC

    oklch(88.6% 0.019 75.3)

  4. Step 300

    300

    #CEBEAA

    oklch(80.9% 0.033 73.5)

  5. Step 400

    400

    #B59C7D

    oklch(70.7% 0.052 72.8)

  6. Step 500

    500 (this color)

    #987A52

    oklch(59.9% 0.067 74)

  7. Step 600

    600

    #8D6D41

    oklch(55.6% 0.073 74.2)

  8. Step 700

    700

    #785B33

    oklch(49.2% 0.068 74)

  9. Step 800

    800

    #614A2B

    oklch(42.6% 0.055 73.7)

  10. Step 900

    900

    #503E27

    oklch(37.7% 0.044 72.7)

  11. Step 950

    950

    #2F2417

    oklch(26.9% 0.028 70.9)

Export this scale for Tailwind in the Tailwind colors tool

#987A52 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)#857B4F0.032
Deuteranopia (no green cones)#8C82530.028
Tritanopia (no blue cones)#A372700.057
Achromatopsia (no color)#7F7F7F0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #987A52

    #987A52

    oklch(59.9% 0.067 74)

  • #6482A7

    #6482A7

    oklch(59.8% 0.066 254)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987A52

    #987A52

    oklch(59.9% 0.067 74)

  • #A2735F

    #A2735F

    oklch(59.8% 0.067 44)

  • #868252

    #868252

    oklch(59.8% 0.067 104.1)

Open the analogous palette in the generator

Split complementary

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

  • #987A52

    #987A52

    oklch(59.9% 0.067 74)

  • #51899E

    #51899E

    oklch(60% 0.067 224.1)

  • #7A7BA7

    #7A7BA7

    oklch(59.9% 0.067 283.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987A52

    #987A52

    oklch(59.9% 0.067 74)

  • #4B8D8B

    #4B8D8B

    oklch(59.9% 0.068 192.9)

  • #8E749C

    #8E749C

    oklch(59.8% 0.067 313.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987A52

    #987A52

    oklch(59.9% 0.067 74)

  • #598D75

    #598D75

    oklch(60% 0.067 163.6)

  • #6482A7

    #6482A7

    oklch(59.8% 0.066 254)

  • #9D708A

    #9D708A

    oklch(59.9% 0.067 343.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #987A52 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.