#CCCB51

Closest named color: Greenish Beige (#C9D179). oklch(82% 0.143 108.7), rgb(204, 203, 81).

Aa

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

About this color

#CCCB51 is a light, vivid yellow. In OKLCH its lightness is 82%, its chroma 0.143 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.036 away. Black text reads best on it, at 12.22:1.

Hue familyYellows
Lightnesslight (82%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text12.22:1
White text1.71:1

Values

HEX#CCCB51
RGBrgb(204, 203, 81)
HSLhsl(60, 55%, 56%)
OKLCHoklch(82% 0.143 108.7)

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 #CCCB51 1.71:1 Fails Lc -34.7 Non-text elements, placeholder text
Black text on #CCCB51 12.22:1 AAA Lc 73.0 Content text, not long reading
#CCCB51 text on white 1.71:1 Fails Lc 30.8 Non-text elements, placeholder text
#CCCB51 text on black 12.22:1 AAA Lc -71.9 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

    #F6F7E8

    oklch(97.1% 0.02 109.9)

  2. Step 100

    100

    #ECEDCD

    oklch(93.7% 0.042 108.6)

  3. Step 200

    200

    #DDDEA1

    oklch(88.5% 0.079 108.7)

  4. Step 300

    300 (this color)

    #CCCB51

    oklch(82% 0.143 108.7)

  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

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCCB51 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)#DAC3430.026
Deuteranopia (no green cones)#DCC8580.026
Tritanopia (no blue cones)#DABFB10.128
Achromatopsia (no color)#C5C5C50.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCCB51

    #CCCB51

    oklch(82% 0.143 108.7)

  • #C1BAFF

    #C1BAFF

    oklch(81.9% 0.096 288.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCCB51

    #CCCB51

    oklch(82% 0.143 108.7)

  • #F6B849

    #F6B849

    oklch(82.1% 0.143 78.7)

  • #93DA7E

    #93DA7E

    oklch(82% 0.143 138.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCCB51

    #CCCB51

    oklch(82% 0.143 108.7)

  • #A1C6FF

    #A1C6FF

    oklch(82% 0.09 258.9)

  • #EBA5FF

    #EBA5FF

    oklch(81.9% 0.143 318.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCCB51

    #CCCB51

    oklch(82% 0.143 108.7)

  • #6BD2FF

    #6BD2FF

    oklch(81.9% 0.115 229)

  • #FFA3D1

    #FFA3D1

    oklch(82% 0.122 348.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCCB51

    #CCCB51

    oklch(82% 0.143 108.7)

  • #00DFE6

    #00DFE6

    oklch(82.1% 0.14 198.8)

  • #C1BAFF

    #C1BAFF

    oklch(81.9% 0.096 288.7)

  • #FFA9AA

    #FFA9AA

    oklch(81.9% 0.102 18.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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