#987E18

Closest named color: Bronze (#A87900). oklch(60.1% 0.116 93.3), rgb(152, 126, 24).

Aa

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

About this color

#987E18 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.116 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.33:1.

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

Values

HEX#987E18
RGBrgb(152, 126, 24)
HSLhsl(48, 73%, 35%)
OKLCHoklch(60.1% 0.116 93.3)

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 #987E18 3.93:1 AA large text Lc -72.1 Content text, not long reading
Black text on #987E18 5.33:1 AA Lc 37.5 Non-text elements, placeholder text
#987E18 text on white 3.93:1 AA large text Lc 66.6 Content text, not long reading
#987E18 text on black 5.33:1 AA Lc -35.0 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

    #E0D9C2

    oklch(88.5% 0.032 93)

  4. Step 300

    300

    #CDC097

    oklch(80.8% 0.057 92.6)

  5. Step 400

    400

    #B4A05C

    oklch(70.8% 0.091 93.5)

  6. Step 500

    500 (this color)

    #987E18

    oklch(60.1% 0.116 93.3)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4003

    oklch(37.7% 0.075 93.4)

  11. Step 950

    950

    #2E2606

    oklch(27% 0.049 94.9)

Export this scale for Tailwind in the Tailwind colors tool

#987E18 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)#8D7C000.022
Deuteranopia (no green cones)#9383200.014
Tritanopia (no blue cones)#A5736C0.107
Achromatopsia (no color)#8080800.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #987E18

    #987E18

    oklch(60.1% 0.116 93.3)

  • #6A7AC5

    #6A7AC5

    oklch(60% 0.116 273.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987E18

    #987E18

    oklch(60.1% 0.116 93.3)

  • #B06F2B

    #B06F2B

    oklch(60% 0.116 63.1)

  • #738B36

    #738B36

    oklch(60% 0.115 123.2)

Open the analogous palette in the generator

Split complementary

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

  • #987E18

    #987E18

    oklch(60.1% 0.116 93.3)

  • #3887C0

    #3887C0

    oklch(60.1% 0.116 243.5)

  • #8F6EB9

    #8F6EB9

    oklch(60.1% 0.116 303.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987E18

    #987E18

    oklch(60.1% 0.116 93.3)

  • #0090A6

    #0090A6

    oklch(60% 0.105 213.4)

  • #A9659E

    #A9659E

    oklch(60.1% 0.115 333)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987E18

    #987E18

    oklch(60.1% 0.116 93.3)

  • #009587

    #009587

    oklch(60.2% 0.107 183.3)

  • #6A7AC5

    #6A7AC5

    oklch(60% 0.116 273.3)

  • #B86179

    #B86179

    oklch(60.1% 0.115 3.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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