#987718

Closest named color: Hazel (#8E7618). oklch(58.6% 0.112 87.6), rgb(152, 119, 24).

Aa

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

About this color

#987718 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 59%, its chroma 0.112 and its hue 88°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.017 away. Black text reads best on it, at 4.98:1.

Hue familyBrowns
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.98:1
White text4.21:1

Values

HEX#987718
RGBrgb(152, 119, 24)
HSLhsl(45, 73%, 35%)
OKLCHoklch(58.6% 0.112 87.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 #987718 4.21:1 AA large text Lc -74.4 Content text, not long reading
Black text on #987718 4.98:1 AA Lc 35.2 Non-text elements, placeholder text
#987718 text on white 4.21:1 AA large text Lc 68.9 Content text, not long reading
#987718 text on black 4.98:1 AA Lc -32.8 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 600.

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EEE9DF

    oklch(93.5% 0.014 84.6)

  3. Step 200

    200

    #E1D8C5

    oklch(88.4% 0.027 85.7)

  4. Step 300

    300

    #CEBF9C

    oklch(80.8% 0.05 87.6)

  5. Step 400

    400

    #B69E65

    oklch(70.7% 0.08 87.5)

  6. Step 500

    500

    #A48537

    oklch(63.1% 0.103 87.2)

  7. Step 600

    600 (this color)

    #987718

    oklch(58.6% 0.112 87.6)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #634B02

    oklch(42.7% 0.086 87.2)

  10. Step 900

    900

    #513F10

    oklch(37.7% 0.067 87.1)

  11. Step 950

    950

    #2F250B

    oklch(27% 0.043 88.1)

Export this scale for Tailwind in the Tailwind colors tool

#987718 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)#8676000.033
Deuteranopia (no green cones)#8E7F1E0.025
Tritanopia (no blue cones)#A56B660.102
Achromatopsia (no color)#7B7B7B0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #987718

    #987718

    oklch(58.6% 0.112 87.6)

  • #5F78BF

    #5F78BF

    oklch(58.5% 0.113 268.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987718

    #987718

    oklch(58.6% 0.112 87.6)

  • #AD6931

    #AD6931

    oklch(58.5% 0.112 57.4)

  • #77842E

    #77842E

    oklch(58.5% 0.111 117.3)

Open the analogous palette in the generator

Split complementary

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

  • #987718

    #987718

    oklch(58.6% 0.112 87.6)

  • #2A85B6

    #2A85B6

    oklch(58.6% 0.112 237.2)

  • #846CB6

    #846CB6

    oklch(58.5% 0.113 297.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987718

    #987718

    oklch(58.6% 0.112 87.6)

  • #008C9B

    #008C9B

    oklch(58.5% 0.101 208)

  • #9F639E

    #9F639E

    oklch(58.6% 0.111 327.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987718

    #987718

    oklch(58.6% 0.112 87.6)

  • #00907B

    #00907B

    oklch(58.4% 0.108 177.6)

  • #5F78BF

    #5F78BF

    oklch(58.5% 0.113 268.1)

  • #B05E7C

    #B05E7C

    oklch(58.6% 0.111 357.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #987718 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.