#9B8201

Closest named color: Dark Mustard (#A88905). oklch(61.2% 0.125 95.4), rgb(155, 130, 1).

Aa

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

About this color

#9B8201 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.125 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.030 away. Black text reads best on it, at 5.58:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.58:1
White text3.75:1

Values

HEX#9B8201
RGBrgb(155, 130, 1)
HSLhsl(50, 99%, 31%)
OKLCHoklch(61.2% 0.125 95.4)

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 #9B8201 3.75:1 AA large text Lc -70.4 Content text, not long reading
Black text on #9B8201 5.58:1 AA Lc 39.1 Non-text elements, placeholder text
#9B8201 text on white 3.75:1 AA large text Lc 64.9 Content text, not long reading
#9B8201 text on black 5.58:1 AA Lc -36.7 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

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #E0D9C0

    oklch(88.4% 0.034 94.1)

  4. Step 300

    300

    #CCC194

    oklch(80.9% 0.061 96)

  5. Step 400

    400

    #B3A055

    oklch(70.6% 0.098 95.5)

  6. Step 500

    500 (this color)

    #9B8201

    oklch(61.2% 0.125 95.4)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2603

    oklch(27% 0.052 96)

Export this scale for Tailwind in the Tailwind colors tool

#9B8201 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)#917F000.019
Deuteranopia (no green cones)#9887120.013
Tritanopia (no blue cones)#A9766E0.116
Achromatopsia (no color)#8484840.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #9B8201

    #9B8201

    oklch(61.2% 0.125 95.4)

  • #6F7CCE

    #6F7CCE

    oklch(61.2% 0.125 275.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9B8201

    #9B8201

    oklch(61.2% 0.125 95.4)

  • #B6721F

    #B6721F

    oklch(61.2% 0.125 65.5)

  • #729033

    #729033

    oklch(61.1% 0.125 125.2)

Open the analogous palette in the generator

Split complementary

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

  • #9B8201

    #9B8201

    oklch(61.2% 0.125 95.4)

  • #378ACA

    #378ACA

    oklch(61.3% 0.126 245.4)

  • #966EBF

    #966EBF

    oklch(61.1% 0.126 305.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9B8201

    #9B8201

    oklch(61.2% 0.125 95.4)

  • #0093AC

    #0093AC

    oklch(61.1% 0.108 215.4)

  • #B164A1

    #B164A1

    oklch(61.1% 0.126 335.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9B8201

    #9B8201

    oklch(61.2% 0.125 95.4)

  • #00988D

    #00988D

    oklch(61.1% 0.107 185.9)

  • #6F7CCE

    #6F7CCE

    oklch(61.2% 0.125 275.3)

  • #C16079

    #C16079

    oklch(61.1% 0.126 5.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #9B8201.

Similar named colors

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

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