#987D3F

Closest named color: Coffee (#A6814C). oklch(60.2% 0.087 86.1), rgb(152, 125, 63).

Aa

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

About this color

#987D3F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 60%, its chroma 0.087 and its hue 86°. Its hue sits on the warm side of the wheel. The nearest named color is Coffee (#A6814C), ΔE 0.030 away. Black text reads best on it, at 5.34:1.

Hue familyBrowns
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameCoffee (#A6814C)
Black text5.34:1
White text3.93:1

Values

HEX#987D3F
RGBrgb(152, 125, 63)
HSLhsl(42, 41%, 42%)
OKLCHoklch(60.2% 0.087 86.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 #987D3F 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #987D3F 5.34:1 AA Lc 37.4 Non-text elements, placeholder text
#987D3F text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#987D3F text on black 5.34:1 AA Lc -35.0 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDE9E1

    oklch(93.5% 0.012 84.6)

  3. Step 200

    200

    #E0D8C8

    oklch(88.4% 0.023 84.6)

  4. Step 300

    300

    #CDBFA2

    oklch(80.9% 0.042 85.3)

  5. Step 400

    400

    #B49E6F

    oklch(70.7% 0.068 85.6)

  6. Step 500

    500 (this color)

    #987D3F

    oklch(60.2% 0.087 86.1)

  7. Step 600

    600

    #8C6F28

    oklch(55.6% 0.095 86.2)

  8. Step 700

    700

    #775D1A

    oklch(49.2% 0.089 86.6)

  9. Step 800

    800

    #614C19

    oklch(42.8% 0.073 86.1)

  10. Step 900

    900

    #4F3F1B

    oklch(37.6% 0.057 85.5)

  11. Step 950

    950

    #2E2511

    oklch(26.9% 0.035 85.8)

Export this scale for Tailwind in the Tailwind colors tool

#987D3F 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)#8A7C390.025
Deuteranopia (no green cones)#9083410.020
Tritanopia (no blue cones)#A4746F0.078
Achromatopsia (no color)#8080800.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #987D3F

    #987D3F

    oklch(60.2% 0.087 86.1)

  • #687FB6

    #687FB6

    oklch(60.1% 0.089 266.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987D3F

    #987D3F

    oklch(60.2% 0.087 86.1)

  • #A9734C

    #A9734C

    oklch(60.3% 0.087 56.1)

  • #7E8748

    #7E8748

    oklch(60.1% 0.087 115.8)

Open the analogous palette in the generator

Split complementary

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

  • #987D3F

    #987D3F

    oklch(60.2% 0.087 86.1)

  • #4889AE

    #4889AE

    oklch(60.2% 0.087 235.7)

  • #8576AF

    #8576AF

    oklch(60.2% 0.087 295.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987D3F

    #987D3F

    oklch(60.2% 0.087 86.1)

  • #31909A

    #31909A

    oklch(60.3% 0.088 205.1)

  • #9C6E9D

    #9C6E9D

    oklch(60.2% 0.088 325.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987D3F

    #987D3F

    oklch(60.2% 0.087 86.1)

  • #3D927F

    #3D927F

    oklch(60.2% 0.087 176.1)

  • #687FB6

    #687FB6

    oklch(60.1% 0.089 266.4)

  • #AB6A82

    #AB6A82

    oklch(60.2% 0.088 356.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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