#CAC800

Closest named color: Mustard Yellow (#D2BD0A). oklch(80.8% 0.175 109), rgb(202, 200, 0).

Aa

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

About this color

#CAC800 is a light, vivid yellow. In OKLCH its lightness is 81%, its chroma 0.175 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.030 away. Black text reads best on it, at 11.77:1.

Hue familyYellows
Lightnesslight (81%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.77:1
White text1.78:1

Values

HEX#CAC800
RGBrgb(202, 200, 0)
HSLhsl(59, 100%, 40%)
OKLCHoklch(80.8% 0.175 109)

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 #CAC800 1.78:1 Fails Lc -36.7 Non-text elements, placeholder text
Black text on #CAC800 11.77:1 AAA Lc 71.1 Content text, not long reading
#CAC800 text on white 1.78:1 Fails Lc 32.7 Non-text elements, placeholder text
#CAC800 text on black 11.77:1 AAA Lc -70.0 Content text, not long reading

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

  1. Step 50

    50

    #F6F7E5

    oklch(97.1% 0.024 109.4)

  2. Step 100

    100

    #ECEDC7

    oklch(93.6% 0.05 108.6)

  3. Step 200

    200

    #DEDF93

    oklch(88.6% 0.097 108.9)

  4. Step 300

    300 (this color)

    #CAC800

    oklch(80.8% 0.175 109)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#CAC800 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)#DABF000.032
Deuteranopia (no green cones)#DCC4240.031
Tritanopia (no blue cones)#D9BAAA0.159
Achromatopsia (no color)#C2C2C20.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #CAC800

    #CAC800

    oklch(80.8% 0.175 109)

  • #BEB5FF

    #BEB5FF

    oklch(80.7% 0.104 289.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CAC800

    #CAC800

    oklch(80.8% 0.175 109)

  • #F9B100

    #F9B100

    oklch(80.8% 0.168 79.2)

  • #81DA67

    #81DA67

    oklch(80.7% 0.174 139)

Open the analogous palette in the generator

Split complementary

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

  • #CAC800

    #CAC800

    oklch(80.8% 0.175 109)

  • #9BC2FF

    #9BC2FF

    oklch(80.8% 0.097 259.2)

  • #EB9EFF

    #EB9EFF

    oklch(80.8% 0.155 319.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CAC800

    #CAC800

    oklch(80.8% 0.175 109)

  • #5ECFFF

    #5ECFFF

    oklch(80.8% 0.122 229)

  • #FF9CCE

    #FF9CCE

    oklch(80.8% 0.132 348.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CAC800

    #CAC800

    oklch(80.8% 0.175 109)

  • #00DAE2

    #00DAE2

    oklch(80.7% 0.137 199.5)

  • #BEB5FF

    #BEB5FF

    oklch(80.7% 0.104 289.4)

  • #FFA3A4

    #FFA3A4

    oklch(80.7% 0.11 19)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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