#9C7D02

Closest named color: Bronze (#A87900). oklch(60.2% 0.123 91.2), rgb(156, 125, 2).

Aa

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

About this color

#9C7D02 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.123 and its hue 91°. 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.34:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameBronze (#A87900)
Black text5.34:1
White text3.92:1

Values

HEX#9C7D02
RGBrgb(156, 125, 2)
HSLhsl(48, 97%, 31%)
OKLCHoklch(60.2% 0.123 91.2)

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 #9C7D02 3.92:1 AA large text Lc -72.0 Content text, not long reading
Black text on #9C7D02 5.34:1 AA Lc 37.6 Non-text elements, placeholder text
#9C7D02 text on white 3.92:1 AA large text Lc 66.5 Content text, not long reading
#9C7D02 text on black 5.34:1 AA Lc -35.2 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

    #F7F5EF

    oklch(97% 0.008 91.5)

  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

    #B79F57

    oklch(70.8% 0.096 91.4)

  6. Step 500

    500 (this color)

    #9C7D02

    oklch(60.2% 0.123 91.2)

  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

    #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

#9C7D02 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)#8D7B000.026
Deuteranopia (no green cones)#9584110.020
Tritanopia (no blue cones)#AA716A0.112
Achromatopsia (no color)#8080800.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C7D02

    #9C7D02

    oklch(60.2% 0.123 91.2)

  • #667BCA

    #667BCA

    oklch(60.2% 0.123 271.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C7D02

    #9C7D02

    oklch(60.2% 0.123 91.2)

  • #B46D26

    #B46D26

    oklch(60.1% 0.122 61)

  • #768C2C

    #768C2C

    oklch(60.3% 0.123 121.3)

Open the analogous palette in the generator

Split complementary

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

  • #9C7D02

    #9C7D02

    oklch(60.2% 0.123 91.2)

  • #2B89C3

    #2B89C3

    oklch(60.3% 0.123 240.9)

  • #8E6EBE

    #8E6EBE

    oklch(60.3% 0.122 301.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C7D02

    #9C7D02

    oklch(60.2% 0.123 91.2)

  • #0091A4

    #0091A4

    oklch(60.2% 0.104 210.9)

  • #AA64A2

    #AA64A2

    oklch(60.3% 0.122 331.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C7D02

    #9C7D02

    oklch(60.2% 0.123 91.2)

  • #009585

    #009585

    oklch(60.1% 0.108 181.8)

  • #667BCA

    #667BCA

    oklch(60.2% 0.123 271.1)

  • #BB5F7C

    #BB5F7C

    oklch(60.3% 0.122 1.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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