#987808

Closest named color: Hazel (#8E7618). oklch(58.7% 0.118 89.6), rgb(152, 120, 8).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.02:1
White text4.17:1

Values

HEX#987808
RGBrgb(152, 120, 8)
HSLhsl(47, 90%, 31%)
OKLCHoklch(58.7% 0.118 89.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 #987808 4.17:1 AA large text Lc -74.1 Content text, not long reading
Black text on #987808 5.02:1 AA Lc 35.5 Non-text elements, placeholder text
#987808 text on white 4.17:1 AA large text Lc 68.6 Content text, not long reading
#987808 text on black 5.02:1 AA Lc -33.1 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

    #EEEADF

    oklch(93.7% 0.015 90.2)

  3. Step 200

    200

    #E1D9C4

    oklch(88.6% 0.029 89.6)

  4. Step 300

    300

    #CEC09A

    oklch(81% 0.053 90.2)

  5. Step 400

    400

    #B59E61

    oklch(70.6% 0.084 89.5)

  6. Step 500

    500

    #A38630

    oklch(63.1% 0.109 90)

  7. Step 600

    600 (this color)

    #987808

    oklch(58.7% 0.118 89.6)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #624C00

    oklch(42.8% 0.087 89.5)

  10. Step 900

    900

    #503F0A

    oklch(37.6% 0.071 89.6)

  11. Step 950

    950

    #2F2509

    oklch(26.9% 0.045 89.2)

Export this scale for Tailwind in the Tailwind colors tool

#987808 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)#8877000.028
Deuteranopia (no green cones)#8F80130.024
Tritanopia (no blue cones)#A66C660.108
Achromatopsia (no color)#7C7C7C0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #987808

    #987808

    oklch(58.7% 0.118 89.6)

  • #6178C2

    #6178C2

    oklch(58.8% 0.117 269.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987808

    #987808

    oklch(58.7% 0.118 89.6)

  • #AF6929

    #AF6929

    oklch(58.7% 0.118 59.2)

  • #74862A

    #74862A

    oklch(58.7% 0.118 119.7)

Open the analogous palette in the generator

Split complementary

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

  • #987808

    #987808

    oklch(58.7% 0.118 89.6)

  • #2785BB

    #2785BB

    oklch(58.8% 0.118 239.3)

  • #876BB8

    #876BB8

    oklch(58.7% 0.118 299.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987808

    #987808

    oklch(58.7% 0.118 89.6)

  • #008C9D

    #008C9D

    oklch(58.6% 0.101 209.7)

  • #A3619E

    #A3619E

    oklch(58.8% 0.118 329.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987808

    #987808

    oklch(58.7% 0.118 89.6)

  • #00917E

    #00917E

    oklch(58.8% 0.107 179.1)

  • #6178C2

    #6178C2

    oklch(58.8% 0.117 269.5)

  • #B45C7A

    #B45C7A

    oklch(58.8% 0.118 359.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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