#C9AD02

Closest named color: Muddy Yellow (#BFAC05). oklch(75% 0.154 97.4), rgb(201, 173, 2).

Aa

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

About this color

#C9AD02 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.154 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.016 away. Black text reads best on it, at 9.46:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.154)
Temperaturewarm
Nearest nameMuddy Yellow (#BFAC05)
Black text9.46:1
White text2.21:1

Values

HEX#C9AD02
RGBrgb(201, 173, 2)
HSLhsl(52, 98%, 40%)
OKLCHoklch(75% 0.154 97.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 #C9AD02 2.21:1 Fails Lc -48.3 Large or bold text, headings
Black text on #C9AD02 9.46:1 AAA Lc 60.5 Content text, not long reading
#C9AD02 text on white 2.21:1 Fails Lc 43.5 Non-text elements, placeholder text
#C9AD02 text on black 9.46:1 AAA Lc -58.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F8F6EC

    oklch(97.2% 0.013 97.4)

  2. Step 100

    100

    #EFEAD6

    oklch(93.6% 0.027 95.4)

  3. Step 200

    200

    #E2DAB2

    oklch(88.5% 0.053 98)

  4. Step 300

    300

    #D2C177

    oklch(80.9% 0.096 96.8)

  5. Step 400

    400 (this color)

    #C9AD02

    oklch(75% 0.154 97.4)

  6. Step 500

    500

    #9F8900

    oklch(63.1% 0.13 97.8)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  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

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#C9AD02 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)#C0A9000.018
Deuteranopia (no green cones)#C7B21C0.012
Tritanopia (no blue cones)#DA9E930.143
Achromatopsia (no color)#AEAEAE0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #C9AD02

    #C9AD02

    oklch(75% 0.154 97.4)

  • #9AA5FF

    #9AA5FF

    oklch(75% 0.13 277.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C9AD02

    #C9AD02

    oklch(75% 0.154 97.4)

  • #ED9826

    #ED9826

    oklch(74.9% 0.154 67.5)

  • #93BF4A

    #93BF4A

    oklch(74.9% 0.153 127.2)

Open the analogous palette in the generator

Split complementary

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

  • #C9AD02

    #C9AD02

    oklch(75% 0.154 97.4)

  • #60B4FF

    #60B4FF

    oklch(74.9% 0.136 247.7)

  • #C891F9

    #C891F9

    oklch(74.9% 0.155 307.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C9AD02

    #C9AD02

    oklch(75% 0.154 97.4)

  • #00C2E5

    #00C2E5

    oklch(75.1% 0.134 217)

  • #EB85D0

    #EB85D0

    oklch(75% 0.154 337.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C9AD02

    #C9AD02

    oklch(75% 0.154 97.4)

  • #00C8BC

    #00C8BC

    oklch(75% 0.131 187.2)

  • #9AA5FF

    #9AA5FF

    oklch(75% 0.13 277.5)

  • #FE809C

    #FE809C

    oklch(75% 0.155 7.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #C9AD02 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.