#CCED87

Closest named color: Pistachio (#C0FA8B). oklch(90% 0.133 123.7), rgb(204, 237, 135).

Aa

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

About this color

#CCED87 is a light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.133 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.035 away. Black text reads best on it, at 16.03:1.

Hue familyYellows
Lightnesslight (90%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.03:1
White text1.30:1

Values

HEX#CCED87
RGBrgb(204, 237, 135)
HSLhsl(79, 74%, 73%)
OKLCHoklch(90% 0.133 123.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 #CCED87 1.30:1 Fails Lc -17.6 Dividers and decoration only
Black text on #CCED87 16.03:1 AAA Lc 88.4 Fine for body text
#CCED87 text on white 1.30:1 Fails Lc 15.3 Dividers and decoration only
#CCED87 text on black 16.03:1 AAA Lc -88.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 200.

  1. Step 50

    50

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100

    #E3F0CC

    oklch(93.6% 0.049 123.5)

  3. Step 200

    200 (this color)

    #CCED87

    oklch(90% 0.133 123.7)

  4. Step 300

    300

    #AAD244

    oklch(80.8% 0.172 123.8)

  5. Step 400

    400

    #8BB100

    oklch(70.6% 0.175 123.7)

  6. Step 500

    500

    #779800

    oklch(63.1% 0.156 123.6)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#CCED87 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)#F7E27F0.059
Deuteranopia (no green cones)#F3E18C0.060
Tritanopia (no blue cones)#D3E4D50.109
Achromatopsia (no color)#E1E1E10.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCED87

    #CCED87

    oklch(90% 0.133 123.7)

  • #E6D5FF

    #E6D5FF

    oklch(90% 0.059 303.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCED87

    #CCED87

    oklch(90% 0.133 123.7)

  • #FBDC6F

    #FBDC6F

    oklch(89.9% 0.133 93.7)

  • #93F8B5

    #93F8B5

    oklch(90% 0.133 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCED87

    #CCED87

    oklch(90% 0.133 123.7)

  • #D3DCFF

    #D3DCFF

    oklch(89.9% 0.049 274)

  • #FFCBF4

    #FFCBF4

    oklch(90% 0.079 333.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCED87

    #CCED87

    oklch(90% 0.133 123.7)

  • #C1E3FF

    #C1E3FF

    oklch(90% 0.053 243.2)

  • #FFD0DA

    #FFD0DA

    oklch(90.1% 0.054 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCED87

    #CCED87

    oklch(90% 0.133 123.7)

  • #9DEDFF

    #9DEDFF

    oklch(90.1% 0.082 213.4)

  • #E6D5FF

    #E6D5FF

    oklch(90% 0.059 303.6)

  • #FFD2C7

    #FFD2C7

    oklch(89.9% 0.053 34)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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