#9B7B02

Closest named color: Bronze (#A87900). oklch(59.7% 0.121 90.3), rgb(155, 123, 2).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.121)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.22:1
White text4.01:1

Values

HEX#9B7B02
RGBrgb(155, 123, 2)
HSLhsl(47, 97%, 31%)
OKLCHoklch(59.7% 0.121 90.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 #9B7B02 4.01:1 AA large text Lc -72.7 Content text, not long reading
Black text on #9B7B02 5.22:1 AA Lc 36.8 Non-text elements, placeholder text
#9B7B02 text on white 4.01:1 AA large text Lc 67.2 Content text, not long reading
#9B7B02 text on black 5.22:1 AA Lc -34.4 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

    #CFC095

    oklch(81% 0.06 91.1)

  5. Step 400

    400

    #B79E58

    oklch(70.6% 0.094 90.2)

  6. Step 500

    500 (this color)

    #9B7B02

    oklch(59.7% 0.121 90.3)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302504

    oklch(27% 0.051 90)

Export this scale for Tailwind in the Tailwind colors tool

#9B7B02 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)#8B7A000.027
Deuteranopia (no green cones)#9382100.021
Tritanopia (no blue cones)#A96F680.110
Achromatopsia (no color)#7F7F7F0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B7B02

    #9B7B02

    oklch(59.7% 0.121 90.3)

  • #647AC8

    #647AC8

    oklch(59.7% 0.122 270.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B7B02

    #9B7B02

    oklch(59.7% 0.121 90.3)

  • #B36C27

    #B36C27

    oklch(59.8% 0.121 60.4)

  • #76892A

    #76892A

    oklch(59.6% 0.121 120)

Open the analogous palette in the generator

Split complementary

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

  • #9B7B02

    #9B7B02

    oklch(59.7% 0.121 90.3)

  • #2887C0

    #2887C0

    oklch(59.6% 0.122 240.4)

  • #8B6DBC

    #8B6DBC

    oklch(59.7% 0.121 300.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B7B02

    #9B7B02

    oklch(59.7% 0.121 90.3)

  • #008FA1

    #008FA1

    oklch(59.6% 0.103 210.3)

  • #A763A1

    #A763A1

    oklch(59.7% 0.12 330.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B7B02

    #9B7B02

    oklch(59.7% 0.121 90.3)

  • #009482

    #009482

    oklch(59.7% 0.108 180.2)

  • #647AC8

    #647AC8

    oklch(59.7% 0.122 270.5)

  • #B85E7C

    #B85E7C

    oklch(59.7% 0.12 0.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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