#9A8202

Closest named color: Dark Mustard (#A88905). oklch(61.1% 0.125 95.9), rgb(154, 130, 2).

Aa

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

About this color

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

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

Values

HEX#9A8202
RGBrgb(154, 130, 2)
HSLhsl(51, 97%, 31%)
OKLCHoklch(61.1% 0.125 95.9)

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 #9A8202 3.77:1 AA large text Lc -70.6 Content text, not long reading
Black text on #9A8202 5.56:1 AA Lc 39.0 Non-text elements, placeholder text
#9A8202 text on white 3.77:1 AA large text Lc 65.1 Content text, not long reading
#9A8202 text on black 5.56:1 AA Lc -36.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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #DFDAC1

    oklch(88.6% 0.034 97.7)

  4. Step 300

    300

    #CCC194

    oklch(80.9% 0.061 96)

  5. Step 400

    400

    #B3A056

    oklch(70.6% 0.097 95.3)

  6. Step 500

    500 (this color)

    #9A8202

    oklch(61.1% 0.125 95.9)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  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

#9A8202 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.018
Deuteranopia (no green cones)#9787130.013
Tritanopia (no blue cones)#A7766E0.116
Achromatopsia (no color)#8383830.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #9A8202

    #9A8202

    oklch(61.1% 0.125 95.9)

  • #707BCE

    #707BCE

    oklch(61.1% 0.126 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9A8202

    #9A8202

    oklch(61.1% 0.125 95.9)

  • #B5721E

    #B5721E

    oklch(61.1% 0.125 66.2)

  • #719034

    #719034

    oklch(61% 0.125 125.7)

Open the analogous palette in the generator

Split complementary

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

  • #9A8202

    #9A8202

    oklch(61.1% 0.125 95.9)

  • #3889C9

    #3889C9

    oklch(61% 0.125 245.9)

  • #966EBE

    #966EBE

    oklch(61% 0.124 306.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9A8202

    #9A8202

    oklch(61.1% 0.125 95.9)

  • #0093AD

    #0093AD

    oklch(61.1% 0.109 216.1)

  • #B164A0

    #B164A0

    oklch(61% 0.125 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9A8202

    #9A8202

    oklch(61.1% 0.125 95.9)

  • #00988D

    #00988D

    oklch(61.1% 0.107 185.9)

  • #707BCE

    #707BCE

    oklch(61.1% 0.126 276.3)

  • #C06078

    #C06078

    oklch(61% 0.125 5.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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