#987A13

Closest named color: Hazel (#8E7618). oklch(59.2% 0.116 90.5), rgb(152, 122, 19).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.116)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.12:1
White text4.09:1

Values

HEX#987A13
RGBrgb(152, 122, 19)
HSLhsl(46, 78%, 34%)
OKLCHoklch(59.2% 0.116 90.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 #987A13 4.09:1 AA large text Lc -73.4 Content text, not long reading
Black text on #987A13 5.12:1 AA Lc 36.1 Non-text elements, placeholder text
#987A13 text on white 4.09:1 AA large text Lc 67.9 Content text, not long reading
#987A13 text on black 5.12:1 AA Lc -33.7 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

    #E0D9C4

    oklch(88.5% 0.029 91.7)

  4. Step 300

    300

    #CDC09B

    oklch(80.9% 0.052 91)

  5. Step 400

    400

    #B49F62

    oklch(70.7% 0.084 91.1)

  6. Step 500

    500

    #A28633

    oklch(63% 0.106 90.2)

  7. Step 600

    600 (this color)

    #987A13

    oklch(59.2% 0.116 90.5)

  8. Step 700

    700

    #765D00

    oklch(49% 0.1 90.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #50400D

    oklch(37.8% 0.07 90.5)

  11. Step 950

    950

    #2F250A

    oklch(26.9% 0.044 88.7)

Export this scale for Tailwind in the Tailwind colors tool

#987A13 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)#8979000.027
Deuteranopia (no green cones)#91811B0.020
Tritanopia (no blue cones)#A56F680.105
Achromatopsia (no color)#7D7D7D0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #987A13

    #987A13

    oklch(59.2% 0.116 90.5)

  • #6479C3

    #6479C3

    oklch(59.2% 0.116 270.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #987A13

    #987A13

    oklch(59.2% 0.116 90.5)

  • #AF6C2C

    #AF6C2C

    oklch(59.3% 0.115 60.7)

  • #74882F

    #74882F

    oklch(59.2% 0.117 120.9)

Open the analogous palette in the generator

Split complementary

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

  • #987A13

    #987A13

    oklch(59.2% 0.116 90.5)

  • #2F85BC

    #2F85BC

    oklch(59.1% 0.116 241.2)

  • #896CB8

    #896CB8

    oklch(59.1% 0.117 300.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #987A13

    #987A13

    oklch(59.2% 0.116 90.5)

  • #008EA0

    #008EA0

    oklch(59.3% 0.103 210.4)

  • #A4639E

    #A4639E

    oklch(59.2% 0.115 330.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #987A13

    #987A13

    oklch(59.2% 0.116 90.5)

  • #009281

    #009281

    oklch(59.2% 0.107 180.8)

  • #6479C3

    #6479C3

    oklch(59.2% 0.116 270.6)

  • #B55E7A

    #B55E7A

    oklch(59.2% 0.116 0.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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