#997F2A

Closest named color: Bronze (#A87900). oklch(60.5% 0.106 91.5), rgb(153, 127, 42).

Aa

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

About this color

#997F2A is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.106 and its hue 92°. 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.42:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.42:1
White text3.87:1

Values

HEX#997F2A
RGBrgb(153, 127, 42)
HSLhsl(46, 57%, 38%)
OKLCHoklch(60.5% 0.106 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 #997F2A 3.87:1 AA large text Lc -71.6 Content text, not long reading
Black text on #997F2A 5.42:1 AA Lc 38.0 Non-text elements, placeholder text
#997F2A text on white 3.87:1 AA large text Lc 66.1 Content text, not long reading
#997F2A text on black 5.42:1 AA Lc -35.6 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

    #EDEADF

    oklch(93.6% 0.015 94.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

    #B39F63

    oklch(70.6% 0.082 91.7)

  6. Step 500

    500 (this color)

    #997F2A

    oklch(60.5% 0.106 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

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #4F400D

    oklch(37.7% 0.069 91.7)

  11. Step 950

    950

    #2E260A

    oklch(27.1% 0.044 93.2)

Export this scale for Tailwind in the Tailwind colors tool

#997F2A 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)#8D7D1E0.023
Deuteranopia (no green cones)#94852E0.017
Tritanopia (no blue cones)#A6746E0.098
Achromatopsia (no color)#8181810.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #997F2A

    #997F2A

    oklch(60.5% 0.106 91.5)

  • #6B7DC1

    #6B7DC1

    oklch(60.5% 0.106 271.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #997F2A

    #997F2A

    oklch(60.5% 0.106 91.5)

  • #AF7238

    #AF7238

    oklch(60.5% 0.107 61.9)

  • #788B3E

    #788B3E

    oklch(60.4% 0.105 121.2)

Open the analogous palette in the generator

Split complementary

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

  • #997F2A

    #997F2A

    oklch(60.5% 0.106 91.5)

  • #3F89BB

    #3F89BB

    oklch(60.5% 0.106 241.1)

  • #8D72B7

    #8D72B7

    oklch(60.5% 0.106 301.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #997F2A

    #997F2A

    oklch(60.5% 0.106 91.5)

  • #0092A6

    #0092A6

    oklch(60.6% 0.105 211.6)

  • #A6699E

    #A6699E

    oklch(60.4% 0.106 331.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #997F2A

    #997F2A

    oklch(60.5% 0.106 91.5)

  • #0E9686

    #0E9686

    oklch(60.5% 0.106 181.7)

  • #6B7DC1

    #6B7DC1

    oklch(60.5% 0.106 271.7)

  • #B5657D

    #B5657D

    oklch(60.4% 0.106 1.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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