#987E20

Closest named color: Bronze (#A87900). oklch(60.1% 0.112 92.6), rgb(152, 126, 32).

Aa

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

About this color

#987E20 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.112 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Bronze (#A87900), ΔE 0.028 away. Black text reads best on it, at 5.34:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.34:1
White text3.93:1

Values

HEX#987E20
RGBrgb(152, 126, 32)
HSLhsl(47, 65%, 36%)
OKLCHoklch(60.1% 0.112 92.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 #987E20 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #987E20 5.34:1 AA Lc 37.5 Non-text elements, placeholder text
#987E20 text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#987E20 text on black 5.34:1 AA Lc -35.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 500.

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #E0D9C3

    oklch(88.5% 0.03 92.3)

  4. Step 300

    300

    #CDC099

    oklch(80.9% 0.054 91.8)

  5. Step 400

    400

    #B49F5F

    oklch(70.7% 0.087 91.8)

  6. Step 500

    500 (this color)

    #987E20

    oklch(60.1% 0.112 92.6)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #4F4007

    oklch(37.7% 0.073 92.7)

  11. Step 950

    950

    #2E2608

    oklch(27.1% 0.046 94.1)

Export this scale for Tailwind in the Tailwind colors tool

#987E20 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)#8D7C0D0.022
Deuteranopia (no green cones)#9384260.017
Tritanopia (no blue cones)#A5736C0.102
Achromatopsia (no color)#8080800.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #987E20

    #987E20

    oklch(60.1% 0.112 92.6)

  • #6A7BC3

    #6A7BC3

    oklch(60.1% 0.112 272.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987E20

    #987E20

    oklch(60.1% 0.112 92.6)

  • #AF7031

    #AF7031

    oklch(60.1% 0.111 62.6)

  • #758B39

    #758B39

    oklch(60.1% 0.111 122.4)

Open the analogous palette in the generator

Split complementary

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

  • #987E20

    #987E20

    oklch(60.1% 0.112 92.6)

  • #3A87BE

    #3A87BE

    oklch(60% 0.113 243)

  • #8E6FB8

    #8E6FB8

    oklch(60.1% 0.113 302.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987E20

    #987E20

    oklch(60.1% 0.112 92.6)

  • #0090A5

    #0090A5

    oklch(60% 0.105 212.6)

  • #A8669E

    #A8669E

    oklch(60.2% 0.113 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987E20

    #987E20

    oklch(60.1% 0.112 92.6)

  • #009586

    #009586

    oklch(60.1% 0.107 182.5)

  • #6A7BC3

    #6A7BC3

    oklch(60.1% 0.112 272.6)

  • #B7627B

    #B7627B

    oklch(60.2% 0.112 2.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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