#997B16

Closest named color: Hazel (#8E7618). oklch(59.5% 0.115 90.4), rgb(153, 123, 22).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.115)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text5.19:1
White text4.03:1

Values

HEX#997B16
RGBrgb(153, 123, 22)
HSLhsl(46, 75%, 34%)
OKLCHoklch(59.5% 0.115 90.4)

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 #997B16 4.03:1 AA large text Lc -73.0 Content text, not long reading
Black text on #997B16 5.19:1 AA Lc 36.6 Non-text elements, placeholder text
#997B16 text on white 4.03:1 AA large text Lc 67.5 Content text, not long reading
#997B16 text on black 5.19:1 AA Lc -34.2 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

    #EEEADE

    oklch(93.7% 0.017 91.6)

  3. Step 200

    200

    #E1D9C2

    oklch(88.6% 0.032 91)

  4. Step 300

    300

    #CEC097

    oklch(80.9% 0.057 91.4)

  5. Step 400

    400

    #B69E5C

    oklch(70.6% 0.09 90)

  6. Step 500

    500 (this color)

    #997B16

    oklch(59.5% 0.115 90.4)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  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

    #513F03

    oklch(37.7% 0.075 89.8)

  11. Step 950

    950

    #2F2507

    oklch(26.9% 0.047 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#997B16 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)#8A7A000.028
Deuteranopia (no green cones)#92821D0.020
Tritanopia (no blue cones)#A670690.104
Achromatopsia (no color)#7E7E7E0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #997B16

    #997B16

    oklch(59.5% 0.115 90.4)

  • #657AC3

    #657AC3

    oklch(59.5% 0.114 270.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #997B16

    #997B16

    oklch(59.5% 0.115 90.4)

  • #B06D2D

    #B06D2D

    oklch(59.6% 0.115 60.8)

  • #768931

    #768931

    oklch(59.6% 0.115 120.4)

Open the analogous palette in the generator

Split complementary

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

  • #997B16

    #997B16

    oklch(59.5% 0.115 90.4)

  • #3087BC

    #3087BC

    oklch(59.6% 0.115 239.9)

  • #8A6EB9

    #8A6EB9

    oklch(59.6% 0.115 300.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #997B16

    #997B16

    oklch(59.5% 0.115 90.4)

  • #008FA1

    #008FA1

    oklch(59.6% 0.103 210.3)

  • #A5649F

    #A5649F

    oklch(59.5% 0.115 330.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #997B16

    #997B16

    oklch(59.5% 0.115 90.4)

  • #009382

    #009382

    oklch(59.5% 0.107 180.8)

  • #657AC3

    #657AC3

    oklch(59.5% 0.114 270.5)

  • #B55F7B

    #B55F7B

    oklch(59.4% 0.115 0.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #997B16 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.