#CCD187

Closest named color: Greenish Beige (#C9D179). oklch(84% 0.096 111.6), rgb(204, 209, 135).

Aa

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

About this color

#CCD187 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.096 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.017 away. Black text reads best on it, at 13.03:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.03:1
White text1.61:1

Values

HEX#CCD187
RGBrgb(204, 209, 135)
HSLhsl(64, 45%, 67%)
OKLCHoklch(84% 0.096 111.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 #CCD187 1.61:1 Fails Lc -30.9 Non-text elements, placeholder text
Black text on #CCD187 13.03:1 AAA Lc 76.4 Fine for body text
#CCD187 text on white 1.61:1 Fails Lc 27.4 Dividers and decoration only
#CCD187 text on black 13.03:1 AAA Lc -75.5 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

    #F5F6ED

    oklch(97% 0.012 111.8)

  2. Step 100

    100

    #EAECD7

    oklch(93.6% 0.028 111.3)

  3. Step 200

    200

    #DADDB5

    oklch(88.5% 0.053 111)

  4. Step 300

    300 (this color)

    #CCD187

    oklch(84% 0.096 111.6)

  5. Step 400

    400

    #A4A90E

    oklch(70.7% 0.154 111.9)

  6. Step 500

    500

    #8D9100

    oklch(63.2% 0.14 111.7)

  7. Step 600

    600

    #767900

    oklch(55.5% 0.122 111.5)

  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

    #282900

    oklch(27.1% 0.06 111.2)

Export this scale for Tailwind in the Tailwind colors tool

#CCD187 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)#DCCB820.025
Deuteranopia (no green cones)#DCCD8A0.025
Tritanopia (no blue cones)#D5C9BE0.083
Achromatopsia (no color)#CCCCCC0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD187

    #CCD187

    oklch(84% 0.096 111.6)

  • #CBC1FF

    #CBC1FF

    oklch(84% 0.086 291.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD187

    #CCD187

    oklch(84% 0.096 111.6)

  • #EAC581

    #EAC581

    oklch(84% 0.096 82)

  • #A7DBA0

    #A7DBA0

    oklch(84% 0.097 141.7)

Open the analogous palette in the generator

Split complementary

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

  • #CCD187

    #CCD187

    oklch(84% 0.096 111.6)

  • #AECBFF

    #AECBFF

    oklch(83.9% 0.08 262)

  • #E8B6F0

    #E8B6F0

    oklch(84% 0.096 321.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD187

    #CCD187

    oklch(84% 0.096 111.6)

  • #87D6FE

    #87D6FE

    oklch(84% 0.096 231.5)

  • #FCB1D1

    #FCB1D1

    oklch(84% 0.096 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD187

    #CCD187

    oklch(84% 0.096 111.6)

  • #77DDE5

    #77DDE5

    oklch(83.9% 0.096 202.2)

  • #CBC1FF

    #CBC1FF

    oklch(84% 0.086 291.8)

  • #FFB4B1

    #FFB4B1

    oklch(84% 0.088 21.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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