#CCBD52

Closest named color: Dark Yellow (#D5B60A). oklch(79% 0.128 101.4), rgb(204, 189, 82).

Aa

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

About this color

#CCBD52 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.128 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.035 away. Black text reads best on it, at 10.96:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text10.96:1
White text1.91:1

Values

HEX#CCBD52
RGBrgb(204, 189, 82)
HSLhsl(53, 54%, 56%)
OKLCHoklch(79% 0.128 101.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 #CCBD52 1.91:1 Fails Lc -40.8 Non-text elements, placeholder text
Black text on #CCBD52 10.96:1 AAA Lc 67.4 Content text, not long reading
#CCBD52 text on white 1.91:1 Fails Lc 36.5 Non-text elements, placeholder text
#CCBD52 text on black 10.96:1 AAA Lc -66.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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100

    #EFEBCF

    oklch(93.6% 0.037 100.4)

  3. Step 200

    200

    #E3DBA5

    oklch(88.5% 0.071 100.6)

  4. Step 300

    300 (this color)

    #CCBD52

    oklch(79% 0.128 101.4)

  5. Step 400

    400

    #B4A200

    oklch(70.6% 0.147 101.4)

  6. Step 500

    500

    #9B8B00

    oklch(63.1% 0.132 101.2)

  7. Step 600

    600

    #827500

    oklch(55.7% 0.116 101.7)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCBD52 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)#CDB8460.013
Deuteranopia (no green cones)#D1BE580.010
Tritanopia (no blue cones)#DAB1A60.117
Achromatopsia (no color)#BBBBBB0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCBD52

    #CCBD52

    oklch(79% 0.128 101.4)

  • #AEB2FF

    #AEB2FF

    oklch(78.9% 0.109 281.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCBD52

    #CCBD52

    oklch(79% 0.128 101.4)

  • #EEAC55

    #EEAC55

    oklch(79.1% 0.129 71.5)

  • #9DCC72

    #9DCC72

    oklch(79.1% 0.129 131.3)

Open the analogous palette in the generator

Split complementary

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

  • #CCBD52

    #CCBD52

    oklch(79% 0.128 101.4)

  • #85BFFF

    #85BFFF

    oklch(79% 0.11 251.7)

  • #D6A2F7

    #D6A2F7

    oklch(79% 0.129 311.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCBD52

    #CCBD52

    oklch(79% 0.128 101.4)

  • #41CDF5

    #41CDF5

    oklch(79.1% 0.129 221.4)

  • #F299D3

    #F299D3

    oklch(79% 0.128 341)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCBD52

    #CCBD52

    oklch(79% 0.128 101.4)

  • #2CD4CF

    #2CD4CF

    oklch(78.9% 0.128 191.7)

  • #AEB2FF

    #AEB2FF

    oklch(78.9% 0.109 281.3)

  • #FF98A6

    #FF98A6

    oklch(79% 0.124 11.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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