#CCAC38

Closest named color: Burnt Yellow (#D5AB09). oklch(75.3% 0.135 93.1), rgb(204, 172, 56).

Aa

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

About this color

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

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

Values

HEX#CCAC38
RGBrgb(204, 172, 56)
HSLhsl(47, 59%, 51%)
OKLCHoklch(75.3% 0.135 93.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 #CCAC38 2.20:1 Fails Lc -48.0 Large or bold text, headings
Black text on #CCAC38 9.52:1 AAA Lc 60.7 Content text, not long reading
#CCAC38 text on white 2.20:1 Fails Lc 43.3 Non-text elements, placeholder text
#CCAC38 text on black 9.52:1 AAA Lc -58.9 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

    #F8F5ED

    oklch(97% 0.011 89.7)

  2. Step 100

    100

    #EFEAD8

    oklch(93.6% 0.024 94.1)

  3. Step 200

    200

    #E3D9B7

    oklch(88.5% 0.046 93.5)

  4. Step 300

    300

    #D3C081

    oklch(80.9% 0.084 93.3)

  5. Step 400

    400 (this color)

    #CCAC38

    oklch(75.3% 0.135 93.1)

  6. Step 500

    500

    #A48600

    oklch(63% 0.129 93)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  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

#CCAC38 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)#BFA9260.025
Deuteranopia (no green cones)#C6B33E0.019
Tritanopia (no blue cones)#DD9E950.124
Achromatopsia (no color)#AFAFAF0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCAC38

    #CCAC38

    oklch(75.3% 0.135 93.1)

  • #94A8FF

    #94A8FF

    oklch(75.1% 0.128 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCAC38

    #CCAC38

    oklch(75.3% 0.135 93.1)

  • #EA9A4A

    #EA9A4A

    oklch(75.2% 0.135 63)

  • #9FBC55

    #9FBC55

    oklch(75.2% 0.134 122.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCAC38

    #CCAC38

    oklch(75.3% 0.135 93.1)

  • #58B8FD

    #58B8FD

    oklch(75.4% 0.135 242.7)

  • #C099F5

    #C099F5

    oklch(75.3% 0.135 302.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCAC38

    #CCAC38

    oklch(75.3% 0.135 93.1)

  • #00C4E0

    #00C4E0

    oklch(75.3% 0.132 212.7)

  • #E18DD3

    #E18DD3

    oklch(75.2% 0.135 333.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCAC38

    #CCAC38

    oklch(75.3% 0.135 93.1)

  • #00CAB7

    #00CAB7

    oklch(75.3% 0.134 183.1)

  • #94A8FF

    #94A8FF

    oklch(75.1% 0.128 273.1)

  • #F488A6

    #F488A6

    oklch(75.2% 0.135 3.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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