#CCD281

Closest named color: Greenish Beige (#C9D179). oklch(84.1% 0.104 112.1), rgb(204, 210, 129).

Aa

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

About this color

#CCD281 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.104 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.010 away. Black text reads best on it, at 13.10:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.10:1
White text1.60:1

Values

HEX#CCD281
RGBrgb(204, 210, 129)
HSLhsl(64, 47%, 66%)
OKLCHoklch(84.1% 0.104 112.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 #CCD281 1.60:1 Fails Lc -30.6 Non-text elements, placeholder text
Black text on #CCD281 13.10:1 AAA Lc 76.7 Fine for body text
#CCD281 text on white 1.60:1 Fails Lc 27.1 Dividers and decoration only
#CCD281 text on black 13.10:1 AAA Lc -75.8 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

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #EAECD6

    oklch(93.6% 0.029 111.2)

  3. Step 200

    200

    #D9DEB2

    oklch(88.6% 0.058 112.9)

  4. Step 300

    300 (this color)

    #CCD281

    oklch(84.1% 0.104 112.1)

  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

    #767A00

    oklch(55.7% 0.123 112.1)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  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

#CCD281 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)#DDCB7B0.027
Deuteranopia (no green cones)#DDCD850.028
Tritanopia (no blue cones)#D6C9BE0.092
Achromatopsia (no color)#CCCCCC0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD281

    #CCD281

    oklch(84.1% 0.104 112.1)

  • #CBC1FF

    #CBC1FF

    oklch(84% 0.086 291.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD281

    #CCD281

    oklch(84.1% 0.104 112.1)

  • #EDC47A

    #EDC47A

    oklch(84% 0.104 81.3)

  • #A4DC9D

    #A4DC9D

    oklch(84% 0.104 141.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCD281

    #CCD281

    oklch(84.1% 0.104 112.1)

  • #AFCCFF

    #AFCCFF

    oklch(84.2% 0.078 261.6)

  • #EBB4F3

    #EBB4F3

    oklch(84% 0.104 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD281

    #CCD281

    oklch(84.1% 0.104 112.1)

  • #88D6FF

    #88D6FF

    oklch(84% 0.096 232.5)

  • #FFAFD2

    #FFAFD2

    oklch(84% 0.103 351.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD281

    #CCD281

    oklch(84.1% 0.104 112.1)

  • #6DDFE8

    #6DDFE8

    oklch(84.1% 0.104 202.3)

  • #CBC1FF

    #CBC1FF

    oklch(84% 0.086 291.8)

  • #FFB5B1

    #FFB5B1

    oklch(84.2% 0.087 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 #CCD281, closest first.

Similar named colors

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

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