#9C8702

Closest named color: Dark Mustard (#A88905). oklch(62.4% 0.128 98.1), rgb(156, 135, 2).

Aa

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

About this color

#9C8702 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.128 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Mustard (#A88905), ΔE 0.021 away. Black text reads best on it, at 5.88:1.

Hue familyYellows
Lightnessmedium-light (62%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameDark Mustard (#A88905)
Black text5.88:1
White text3.57:1

Values

HEX#9C8702
RGBrgb(156, 135, 2)
HSLhsl(52, 97%, 31%)
OKLCHoklch(62.4% 0.128 98.1)

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 #9C8702 3.57:1 AA large text Lc -68.6 Content text, not long reading
Black text on #9C8702 5.88:1 AA Lc 41.0 Non-text elements, placeholder text
#9C8702 text on white 3.57:1 AA large text Lc 63.1 Content text, not long reading
#9C8702 text on black 5.88:1 AA Lc -38.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

    #F7F6EF

    oklch(97.2% 0.009 100)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #DFDAC0

    oklch(88.5% 0.035 98.1)

  4. Step 300

    300

    #CBC293

    oklch(81% 0.063 98.5)

  5. Step 400

    400

    #B1A154

    oklch(70.6% 0.1 97.8)

  6. Step 500

    500 (this color)

    #9C8702

    oklch(62.4% 0.128 98.1)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706000

    oklch(49% 0.101 97.8)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2D2602

    oklch(26.9% 0.053 98.1)

Export this scale for Tailwind in the Tailwind colors tool

#9C8702 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)#9683000.015
Deuteranopia (no green cones)#9C8A140.008
Tritanopia (no blue cones)#A97B720.119
Achromatopsia (no color)#8787870.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #9C8702

    #9C8702

    oklch(62.4% 0.128 98.1)

  • #767ED3

    #767ED3

    oklch(62.4% 0.128 277.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #9C8702

    #9C8702

    oklch(62.4% 0.128 98.1)

  • #B9761A

    #B9761A

    oklch(62.3% 0.128 68)

  • #709539

    #709539

    oklch(62.2% 0.128 128.2)

Open the analogous palette in the generator

Split complementary

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

  • #9C8702

    #9C8702

    oklch(62.4% 0.128 98.1)

  • #3F8CD1

    #3F8CD1

    oklch(62.4% 0.129 248.5)

  • #9D70C2

    #9D70C2

    oklch(62.3% 0.128 308.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #9C8702

    #9C8702

    oklch(62.4% 0.128 98.1)

  • #0097B4

    #0097B4

    oklch(62.4% 0.112 217.8)

  • #B866A2

    #B866A2

    oklch(62.3% 0.129 338)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #9C8702

    #9C8702

    oklch(62.4% 0.128 98.1)

  • #009C93

    #009C93

    oklch(62.4% 0.109 187.6)

  • #767ED3

    #767ED3

    oklch(62.4% 0.128 277.9)

  • #C76378

    #C76378

    oklch(62.4% 0.129 8.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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