#CCAC42

Closest named color: Burnt Yellow (#D5AB09). oklch(75.3% 0.128 92.1), rgb(204, 172, 66).

Aa

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

About this color

#CCAC42 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.128 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Burnt Yellow (#D5AB09), ΔE 0.026 away. Black text reads best on it, at 9.54:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameBurnt Yellow (#D5AB09)
Black text9.54:1
White text2.19:1

Values

HEX#CCAC42
RGBrgb(204, 172, 66)
HSLhsl(46, 58%, 53%)
OKLCHoklch(75.3% 0.128 92.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 #CCAC42 2.19:1 Fails Lc -47.9 Large or bold text, headings
Black text on #CCAC42 9.54:1 AAA Lc 60.8 Content text, not long reading
#CCAC42 text on white 2.19:1 Fails Lc 43.2 Non-text elements, placeholder text
#CCAC42 text on black 9.54:1 AAA Lc -59.0 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

    #F8F5EE

    oklch(97.1% 0.01 87.5)

  2. Step 100

    100

    #EFEAD9

    oklch(93.6% 0.023 93.3)

  3. Step 200

    200

    #E3D9B9

    oklch(88.5% 0.044 92.7)

  4. Step 300

    300

    #D3C085

    oklch(81% 0.08 92.3)

  5. Step 400

    400 (this color)

    #CCAC42

    oklch(75.3% 0.128 92.1)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#CCAC42 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)#BEA9350.026
Deuteranopia (no green cones)#C6B3470.019
Tritanopia (no blue cones)#DC9F960.116
Achromatopsia (no color)#AFAFAF0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAC42

    #CCAC42

    oklch(75.3% 0.128 92.1)

  • #93A9FF

    #93A9FF

    oklch(75.3% 0.127 272.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAC42

    #CCAC42

    oklch(75.3% 0.128 92.1)

  • #E89B52

    #E89B52

    oklch(75.2% 0.128 62.2)

  • #A1BC5A

    #A1BC5A

    oklch(75.4% 0.129 122.3)

Open the analogous palette in the generator

Split complementary

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

  • #CCAC42

    #CCAC42

    oklch(75.3% 0.128 92.1)

  • #5DB8F9

    #5DB8F9

    oklch(75.3% 0.128 242.2)

  • #BE9BF2

    #BE9BF2

    oklch(75.4% 0.127 301.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAC42

    #CCAC42

    oklch(75.3% 0.128 92.1)

  • #19C4DE

    #19C4DE

    oklch(75.4% 0.128 211.9)

  • #DE90D3

    #DE90D3

    oklch(75.4% 0.127 331.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAC42

    #CCAC42

    oklch(75.3% 0.128 92.1)

  • #27C9B5

    #27C9B5

    oklch(75.3% 0.128 182)

  • #93A9FF

    #93A9FF

    oklch(75.3% 0.127 272.1)

  • #F18BA8

    #F18BA8

    oklch(75.3% 0.128 2.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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