#CCD381

Closest named color: Greenish Beige (#C9D179). oklch(84.3% 0.105 112.6), rgb(204, 211, 129).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.20:1
White text1.59:1

Values

HEX#CCD381
RGBrgb(204, 211, 129)
HSLhsl(65, 48%, 67%)
OKLCHoklch(84.3% 0.105 112.6)

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 #CCD381 1.59:1 Fails Lc -30.2 Non-text elements, placeholder text
Black text on #CCD381 13.20:1 AAA Lc 77.1 Fine for body text
#CCD381 text on white 1.59:1 Fails Lc 26.7 Dividers and decoration only
#CCD381 text on black 13.20:1 AAA Lc -76.3 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)

    #CCD381

    oklch(84.3% 0.105 112.6)

  5. Step 400

    400

    #A3A900

    oklch(70.6% 0.157 112.3)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCD381 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)#DECC7B0.028
Deuteranopia (no green cones)#DECE850.029
Tritanopia (no blue cones)#D5CABF0.092
Achromatopsia (no color)#CDCDCD0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD381

    #CCD381

    oklch(84.3% 0.105 112.6)

  • #CDC2FF

    #CDC2FF

    oklch(84.4% 0.085 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD381

    #CCD381

    oklch(84.3% 0.105 112.6)

  • #EDC579

    #EDC579

    oklch(84.2% 0.105 82.5)

  • #A3DD9E

    #A3DD9E

    oklch(84.2% 0.105 142.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCD381

    #CCD381

    oklch(84.3% 0.105 112.6)

  • #B1CCFF

    #B1CCFF

    oklch(84.3% 0.078 263)

  • #EDB5F4

    #EDB5F4

    oklch(84.4% 0.105 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD381

    #CCD381

    oklch(84.3% 0.105 112.6)

  • #8BD7FF

    #8BD7FF

    oklch(84.4% 0.094 232.4)

  • #FFB1D2

    #FFB1D2

    oklch(84.4% 0.099 352.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD381

    #CCD381

    oklch(84.3% 0.105 112.6)

  • #6DE0E9

    #6DE0E9

    oklch(84.3% 0.105 202.2)

  • #CDC2FF

    #CDC2FF

    oklch(84.4% 0.085 292.8)

  • #FFB6B2

    #FFB6B2

    oklch(84.4% 0.086 22.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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