#9B7F21

Closest named color: Bronze (#A87900). oklch(60.6% 0.112 91.3), rgb(155, 127, 33).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.45:1
White text3.85:1

Values

HEX#9B7F21
RGBrgb(155, 127, 33)
HSLhsl(46, 65%, 37%)
OKLCHoklch(60.6% 0.112 91.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 #9B7F21 3.85:1 AA large text Lc -71.4 Content text, not long reading
Black text on #9B7F21 5.45:1 AA Lc 38.2 Non-text elements, placeholder text
#9B7F21 text on white 3.85:1 AA large text Lc 65.9 Content text, not long reading
#9B7F21 text on black 5.45:1 AA Lc -35.8 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

    #E0D9C3

    oklch(88.5% 0.03 92.3)

  4. Step 300

    300

    #CEC099

    oklch(81% 0.055 90.6)

  5. Step 400

    400

    #B59F5E

    oklch(70.7% 0.088 91.3)

  6. Step 500

    500 (this color)

    #9B7F21

    oklch(60.6% 0.112 91.3)

  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

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #504006

    oklch(37.8% 0.074 91.8)

  11. Step 950

    950

    #2F2508

    oklch(26.9% 0.046 89.7)

Export this scale for Tailwind in the Tailwind colors tool

#9B7F21 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)#8E7D0E0.025
Deuteranopia (no green cones)#9585270.017
Tritanopia (no blue cones)#A8746D0.102
Achromatopsia (no color)#8282820.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B7F21

    #9B7F21

    oklch(60.6% 0.112 91.3)

  • #6A7DC5

    #6A7DC5

    oklch(60.6% 0.112 271.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B7F21

    #9B7F21

    oklch(60.6% 0.112 91.3)

  • #B27133

    #B27133

    oklch(60.7% 0.113 61.4)

  • #788C38

    #788C38

    oklch(60.6% 0.112 121.1)

Open the analogous palette in the generator

Split complementary

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

  • #9B7F21

    #9B7F21

    oklch(60.6% 0.112 91.3)

  • #398ABF

    #398ABF

    oklch(60.7% 0.112 240.9)

  • #8E71BA

    #8E71BA

    oklch(60.6% 0.112 301.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B7F21

    #9B7F21

    oklch(60.6% 0.112 91.3)

  • #0092A6

    #0092A6

    oklch(60.6% 0.105 211.6)

  • #A968A1

    #A968A1

    oklch(60.8% 0.113 331.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B7F21

    #9B7F21

    oklch(60.6% 0.112 91.3)

  • #009786

    #009786

    oklch(60.7% 0.109 181.2)

  • #6A7DC5

    #6A7DC5

    oklch(60.6% 0.112 271.5)

  • #B8637E

    #B8637E

    oklch(60.5% 0.113 0.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #9B7F21 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.