#987D2D

Closest named color: Hazel (#8E7618). oklch(60% 0.103 90), rgb(152, 125, 45).

Aa

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

About this color

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

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

Values

HEX#987D2D
RGBrgb(152, 125, 45)
HSLhsl(45, 54%, 39%)
OKLCHoklch(60% 0.103 90)

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

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.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

    #CDC09C

    oklch(80.9% 0.051 90.5)

  5. Step 400

    400

    #B49F65

    oklch(70.8% 0.081 90.3)

  6. Step 500

    500 (this color)

    #987D2D

    oklch(60% 0.103 90)

  7. Step 600

    600

    #8D6F07

    oklch(55.6% 0.112 89.5)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C03

    oklch(42.6% 0.086 90.1)

  10. Step 900

    900

    #4F4010

    oklch(37.7% 0.067 91)

  11. Step 950

    950

    #2E250B

    oklch(26.8% 0.042 90.1)

Export this scale for Tailwind in the Tailwind colors tool

#987D2D 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)#8B7B230.025
Deuteranopia (no green cones)#9283310.018
Tritanopia (no blue cones)#A5736C0.092
Achromatopsia (no color)#8080800.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #987D2D

    #987D2D

    oklch(60% 0.103 90)

  • #687DBE

    #687DBE

    oklch(60.1% 0.103 269.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987D2D

    #987D2D

    oklch(60% 0.103 90)

  • #AD703C

    #AD703C

    oklch(60% 0.103 59.3)

  • #78893E

    #78893E

    oklch(60% 0.103 120.2)

Open the analogous palette in the generator

Split complementary

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

  • #987D2D

    #987D2D

    oklch(60% 0.103 90)

  • #3E88B7

    #3E88B7

    oklch(60% 0.103 239.5)

  • #8A71B4

    #8A71B4

    oklch(59.9% 0.103 300.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987D2D

    #987D2D

    oklch(60% 0.103 90)

  • #0790A2

    #0790A2

    oklch(59.9% 0.103 210.4)

  • #A3699D

    #A3699D

    oklch(60.1% 0.102 330.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987D2D

    #987D2D

    oklch(60% 0.103 90)

  • #1C9482

    #1C9482

    oklch(60% 0.103 179.6)

  • #687DBE

    #687DBE

    oklch(60.1% 0.103 269.5)

  • #B2657E

    #B2657E

    oklch(60.1% 0.103 359.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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