#997B03

Closest named color: Hazel (#8E7618). oklch(59.5% 0.121 91.5), rgb(153, 123, 3).

Aa

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

About this color

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

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

Values

HEX#997B03
RGBrgb(153, 123, 3)
HSLhsl(48, 96%, 31%)
OKLCHoklch(59.5% 0.121 91.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 #997B03 4.04:1 AA large text Lc -73.0 Content text, not long reading
Black text on #997B03 5.18:1 AA Lc 36.6 Non-text elements, placeholder text
#997B03 text on white 4.04:1 AA large text Lc 67.5 Content text, not long reading
#997B03 text on black 5.18: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

    #EEEADD

    oklch(93.7% 0.018 92.7)

  3. Step 200

    200

    #E1D9C1

    oklch(88.5% 0.033 91.7)

  4. Step 300

    300

    #CEC095

    oklch(80.9% 0.06 92.2)

  5. Step 400

    400

    #B69F58

    oklch(70.7% 0.095 91.9)

  6. Step 500

    500 (this color)

    #997B03

    oklch(59.5% 0.121 91.5)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614D00

    oklch(42.9% 0.088 91.6)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #2F2505

    oklch(26.9% 0.049 91.2)

Export this scale for Tailwind in the Tailwind colors tool

#997B03 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)#8B79000.025
Deuteranopia (no green cones)#9282110.020
Tritanopia (no blue cones)#A76F680.111
Achromatopsia (no color)#7E7E7E0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #997B03

    #997B03

    oklch(59.5% 0.121 91.5)

  • #6579C6

    #6579C6

    oklch(59.5% 0.12 271.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #997B03

    #997B03

    oklch(59.5% 0.121 91.5)

  • #B16C25

    #B16C25

    oklch(59.5% 0.121 61.8)

  • #73892C

    #73892C

    oklch(59.4% 0.121 121.6)

Open the analogous palette in the generator

Split complementary

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

  • #997B03

    #997B03

    oklch(59.5% 0.121 91.5)

  • #2C86C0

    #2C86C0

    oklch(59.5% 0.121 241.8)

  • #8C6CBA

    #8C6CBA

    oklch(59.5% 0.12 301.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #997B03

    #997B03

    oklch(59.5% 0.121 91.5)

  • #008EA2

    #008EA2

    oklch(59.4% 0.103 212)

  • #A7629F

    #A7629F

    oklch(59.4% 0.12 331.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #997B03

    #997B03

    oklch(59.5% 0.121 91.5)

  • #009383

    #009383

    oklch(59.5% 0.107 181.6)

  • #6579C6

    #6579C6

    oklch(59.5% 0.12 271.4)

  • #B85D7A

    #B85D7A

    oklch(59.5% 0.121 1.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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