#987D30

Closest named color: Hazel (#8E7618). oklch(60% 0.1 89.5), rgb(152, 125, 48).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.100)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.31:1
White text3.95:1

Values

HEX#987D30
RGBrgb(152, 125, 48)
HSLhsl(44, 52%, 39%)
OKLCHoklch(60% 0.1 89.5)

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 #987D30 3.95:1 AA large text Lc -72.3 Content text, not long reading
Black text on #987D30 5.31:1 AA Lc 37.3 Non-text elements, placeholder text
#987D30 text on white 3.95:1 AA large text Lc 66.8 Content text, not long reading
#987D30 text on black 5.31:1 AA Lc -34.9 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

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #E0D9C5

    oklch(88.5% 0.028 90.9)

  4. Step 300

    300

    #CDC09D

    oklch(81% 0.049 90.1)

  5. Step 400

    400

    #B49F66

    oklch(70.8% 0.079 90)

  6. Step 500

    500 (this color)

    #987D30

    oklch(60% 0.1 89.5)

  7. Step 600

    600

    #8D6F0F

    oklch(55.6% 0.109 89)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C07

    oklch(42.7% 0.084 89.5)

  10. Step 900

    900

    #4F4012

    oklch(37.8% 0.066 90.5)

  11. Step 950

    950

    #2E250C

    oklch(26.8% 0.041 89.6)

Export this scale for Tailwind in the Tailwind colors tool

#987D30 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)#8B7C270.024
Deuteranopia (no green cones)#9183340.018
Tritanopia (no blue cones)#A4736D0.091
Achromatopsia (no color)#8080800.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #987D30

    #987D30

    oklch(60% 0.1 89.5)

  • #687DBD

    #687DBD

    oklch(60% 0.101 269.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987D30

    #987D30

    oklch(60% 0.1 89.5)

  • #AC713E

    #AC713E

    oklch(60% 0.1 59.9)

  • #79893F

    #79893F

    oklch(60% 0.101 119.7)

Open the analogous palette in the generator

Split complementary

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

  • #987D30

    #987D30

    oklch(60% 0.1 89.5)

  • #4088B6

    #4088B6

    oklch(60.1% 0.1 239.5)

  • #8972B4

    #8972B4

    oklch(60% 0.101 299.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987D30

    #987D30

    oklch(60% 0.1 89.5)

  • #1290A1

    #1290A1

    oklch(60% 0.101 209.8)

  • #A26A9D

    #A26A9D

    oklch(60.1% 0.1 329.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987D30

    #987D30

    oklch(60% 0.1 89.5)

  • #239482

    #239482

    oklch(60.1% 0.101 179.3)

  • #687DBD

    #687DBD

    oklch(60% 0.101 269.4)

  • #B1667E

    #B1667E

    oklch(60.1% 0.1 0)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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