#997F2F

Closest named color: Bronze (#A87900). oklch(60.5% 0.103 90.8), rgb(153, 127, 47).

Aa

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

About this color

#997F2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.103 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Bronze (#A87900), ΔE 0.029 away. Black text reads best on it, at 5.43:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.43:1
White text3.86:1

Values

HEX#997F2F
RGBrgb(153, 127, 47)
HSLhsl(45, 53%, 39%)
OKLCHoklch(60.5% 0.103 90.8)

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 #997F2F 3.86:1 AA large text Lc -71.5 Content text, not long reading
Black text on #997F2F 5.43:1 AA Lc 38.1 Non-text elements, placeholder text
#997F2F text on white 3.86:1 AA large text Lc 66.0 Content text, not long reading
#997F2F text on black 5.43: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

    #E0D9C5

    oklch(88.5% 0.028 90.9)

  4. Step 300

    300

    #CDC09C

    oklch(80.9% 0.051 90.5)

  5. Step 400

    400

    #B39F65

    oklch(70.7% 0.08 91.1)

  6. Step 500

    500 (this color)

    #997F2F

    oklch(60.5% 0.103 90.8)

  7. Step 600

    600

    #8C7007

    oklch(55.7% 0.112 91)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C03

    oklch(42.6% 0.086 90.1)

  10. Step 900

    900

    #4F4010

    oklch(37.7% 0.067 91)

  11. Step 950

    950

    #2E260B

    oklch(27.1% 0.043 92.8)

Export this scale for Tailwind in the Tailwind colors tool

#997F2F 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)#8D7D250.023
Deuteranopia (no green cones)#9385330.017
Tritanopia (no blue cones)#A5756E0.092
Achromatopsia (no color)#8282820.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #997F2F

    #997F2F

    oklch(60.5% 0.103 90.8)

  • #6B7EC0

    #6B7EC0

    oklch(60.6% 0.103 270.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #997F2F

    #997F2F

    oklch(60.5% 0.103 90.8)

  • #AE723D

    #AE723D

    oklch(60.5% 0.102 60.4)

  • #798B40

    #798B40

    oklch(60.5% 0.103 120.8)

Open the analogous palette in the generator

Split complementary

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

  • #997F2F

    #997F2F

    oklch(60.5% 0.103 90.8)

  • #4189B9

    #4189B9

    oklch(60.5% 0.103 240.6)

  • #8C73B6

    #8C73B6

    oklch(60.6% 0.103 300.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #997F2F

    #997F2F

    oklch(60.5% 0.103 90.8)

  • #0E92A4

    #0E92A4

    oklch(60.6% 0.103 210.3)

  • #A56A9E

    #A56A9E

    oklch(60.5% 0.103 331)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #997F2F

    #997F2F

    oklch(60.5% 0.103 90.8)

  • #1E9685

    #1E9685

    oklch(60.7% 0.103 180.5)

  • #6B7EC0

    #6B7EC0

    oklch(60.6% 0.103 270.9)

  • #B4667E

    #B4667E

    oklch(60.5% 0.104 0.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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