#CCD334

Closest named color: Mustard Yellow (#D2BD0A). oklch(83.5% 0.17 112.2), rgb(204, 211, 52).

Aa

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

About this color

#CCD334 is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.170 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.054 away. Black text reads best on it, at 12.93:1.

Hue familyYellows
Lightnesslight (83%)
Chromavivid (0.170)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text12.93:1
White text1.62:1

Values

HEX#CCD334
RGBrgb(204, 211, 52)
HSLhsl(63, 64%, 52%)
OKLCHoklch(83.5% 0.17 112.2)

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 #CCD334 1.62:1 Fails Lc -31.3 Non-text elements, placeholder text
Black text on #CCD334 12.93:1 AAA Lc 76.1 Fine for body text
#CCD334 text on white 1.62:1 Fails Lc 27.7 Dividers and decoration only
#CCD334 text on black 12.93:1 AAA Lc -75.2 Fine for body text

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

    #F5F7E6

    oklch(97% 0.022 112.3)

  2. Step 100

    100

    #EAEEC8

    oklch(93.6% 0.05 112.2)

  3. Step 200

    200

    #DAE097

    oklch(88.5% 0.094 112.1)

  4. Step 300

    300 (this color)

    #CCD334

    oklch(83.5% 0.17 112.2)

  5. Step 400

    400

    #A4A900

    oklch(70.7% 0.156 111.9)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515400

    oklch(42.9% 0.095 112.1)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCD334 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)#E3C9080.037
Deuteranopia (no green cones)#E4CD420.040
Tritanopia (no blue cones)#DAC6B50.151
Achromatopsia (no color)#CBCBCB0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD334

    #CCD334

    oklch(83.5% 0.17 112.2)

  • #CABFFF

    #CABFFF

    oklch(83.6% 0.089 292.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD334

    #CCD334

    oklch(83.5% 0.17 112.2)

  • #FFBC11

    #FFBC11

    oklch(83.5% 0.17 82.2)

  • #83E47A

    #83E47A

    oklch(83.5% 0.17 142.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCD334

    #CCD334

    oklch(83.5% 0.17 112.2)

  • #ACCAFF

    #ACCAFF

    oklch(83.6% 0.082 261.7)

  • #F4A9FF

    #F4A9FF

    oklch(83.5% 0.141 322.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD334

    #CCD334

    oklch(83.5% 0.17 112.2)

  • #82D5FF

    #82D5FF

    oklch(83.5% 0.1 231.7)

  • #FFACD0

    #FFACD0

    oklch(83.5% 0.106 352)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD334

    #CCD334

    oklch(83.5% 0.17 112.2)

  • #00E3F0

    #00E3F0

    oklch(83.4% 0.142 202.2)

  • #CABFFF

    #CABFFF

    oklch(83.6% 0.089 292.2)

  • #FFB2AE

    #FFB2AE

    oklch(83.6% 0.091 22.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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