#987D4F

Closest named color: Mocha (#9D7651). oklch(60.4% 0.071 80.1), rgb(152, 125, 79).

Aa

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

About this color

#987D4F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.071 and its hue 80°. Its hue sits on the warm side of the wheel. The nearest named color is Mocha (#9D7651), ΔE 0.022 away. Black text reads best on it, at 5.38:1.

Hue familyBrowns
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameMocha (#9D7651)
Black text5.38:1
White text3.90:1

Values

HEX#987D4F
RGBrgb(152, 125, 79)
HSLhsl(38, 32%, 45%)
OKLCHoklch(60.4% 0.071 80.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 #987D4F 3.90:1 AA large text Lc -71.9 Content text, not long reading
Black text on #987D4F 5.38:1 AA Lc 37.7 Non-text elements, placeholder text
#987D4F text on white 3.90:1 AA large text Lc 66.4 Content text, not long reading
#987D4F text on black 5.38:1 AA Lc -35.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

    #EDE9E2

    oklch(93.5% 0.01 81.8)

  3. Step 200

    200

    #E0D8CB

    oklch(88.5% 0.02 80.1)

  4. Step 300

    300

    #CDBFA8

    oklch(81% 0.035 80.3)

  5. Step 400

    400

    #B39D79

    oklch(70.6% 0.056 79.8)

  6. Step 500

    500 (this color)

    #987D4F

    oklch(60.4% 0.071 80.1)

  7. Step 600

    600

    #8B6E3C

    oklch(55.6% 0.077 79.8)

  8. Step 700

    700

    #765C2E

    oklch(49.1% 0.072 80.1)

  9. Step 800

    800

    #604B27

    oklch(42.6% 0.059 79.6)

  10. Step 900

    900

    #4F3F24

    oklch(37.8% 0.047 79.7)

  11. Step 950

    950

    #2E2516

    oklch(27% 0.029 79.8)

Export this scale for Tailwind in the Tailwind colors tool

#987D4F 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)#887D4B0.027
Deuteranopia (no green cones)#8F84500.023
Tritanopia (no blue cones)#A375720.063
Achromatopsia (no color)#8181810.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #987D4F

    #987D4F

    oklch(60.4% 0.071 80.1)

  • #6982AD

    #6982AD

    oklch(60.4% 0.072 261)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987D4F

    #987D4F

    oklch(60.4% 0.071 80.1)

  • #A5755B

    #A5755B

    oklch(60.5% 0.072 49.4)

  • #848652

    #848652

    oklch(60.6% 0.072 110.3)

Open the analogous palette in the generator

Split complementary

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

  • #987D4F

    #987D4F

    oklch(60.4% 0.071 80.1)

  • #528AA4

    #528AA4

    oklch(60.5% 0.071 229.5)

  • #817AAA

    #817AAA

    oklch(60.4% 0.072 290.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987D4F

    #987D4F

    oklch(60.4% 0.071 80.1)

  • #488F92

    #488F92

    oklch(60.5% 0.071 199.1)

  • #95749C

    #95749C

    oklch(60.5% 0.071 320.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987D4F

    #987D4F

    oklch(60.4% 0.071 80.1)

  • #53907B

    #53907B

    oklch(60.6% 0.072 169.7)

  • #6982AD

    #6982AD

    oklch(60.4% 0.072 261)

  • #A37087

    #A37087

    oklch(60.5% 0.071 350.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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