#997F07

Closest named color: Bronze (#A87900). oklch(60.3% 0.122 94.3), rgb(153, 127, 7).

Aa

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

About this color

#997F07 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.122 and its hue 94°. 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.39:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.39:1
White text3.89:1

Values

HEX#997F07
RGBrgb(153, 127, 7)
HSLhsl(49, 91%, 31%)
OKLCHoklch(60.3% 0.122 94.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 #997F07 3.89:1 AA large text Lc -71.7 Content text, not long reading
Black text on #997F07 5.39:1 AA Lc 37.9 Non-text elements, placeholder text
#997F07 text on white 3.89:1 AA large text Lc 66.2 Content text, not long reading
#997F07 text on black 5.39:1 AA Lc -35.5 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

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #E0D9C1

    oklch(88.4% 0.033 93.5)

  4. Step 300

    300

    #CDC195

    oklch(81% 0.06 94.6)

  5. Step 400

    400

    #B4A058

    oklch(70.8% 0.095 94.2)

  6. Step 500

    500 (this color)

    #997F07

    oklch(60.3% 0.122 94.3)

  7. Step 600

    600

    #897100

    oklch(55.5% 0.114 94.1)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2E2604

    oklch(27% 0.051 95.6)

Export this scale for Tailwind in the Tailwind colors tool

#997F07 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)#8E7D000.020
Deuteranopia (no green cones)#9584150.014
Tritanopia (no blue cones)#A6736C0.113
Achromatopsia (no color)#8181810.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #997F07

    #997F07

    oklch(60.3% 0.122 94.3)

  • #6B7ACA

    #6B7ACA

    oklch(60.3% 0.123 274.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #997F07

    #997F07

    oklch(60.3% 0.122 94.3)

  • #B36F23

    #B36F23

    oklch(60.3% 0.122 63.8)

  • #728D32

    #728D32

    oklch(60.3% 0.122 124.1)

Open the analogous palette in the generator

Split complementary

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

  • #997F07

    #997F07

    oklch(60.3% 0.122 94.3)

  • #3588C5

    #3588C5

    oklch(60.5% 0.122 244.3)

  • #916DBC

    #916DBC

    oklch(60.3% 0.122 304)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #997F07

    #997F07

    oklch(60.3% 0.122 94.3)

  • #0091A8

    #0091A8

    oklch(60.4% 0.106 214.1)

  • #AD639F

    #AD639F

    oklch(60.3% 0.123 334.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #997F07

    #997F07

    oklch(60.3% 0.122 94.3)

  • #009589

    #009589

    oklch(60.2% 0.106 184.9)

  • #6B7ACA

    #6B7ACA

    oklch(60.3% 0.123 274.1)

  • #BC5F78

    #BC5F78

    oklch(60.3% 0.122 4.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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