#CCEF87

Closest named color: Pistachio (#C0FA8B). oklch(90.4% 0.136 124.3), rgb(204, 239, 135).

Aa

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

About this color

#CCEF87 is a very light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.136 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.030 away. Black text reads best on it, at 16.26:1.

Hue familyYellows
Lightnessvery light (90%)
Chromamoderately saturated (0.136)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.26:1
White text1.29:1

Values

HEX#CCEF87
RGBrgb(204, 239, 135)
HSLhsl(80, 76%, 73%)
OKLCHoklch(90.4% 0.136 124.3)

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 #CCEF87 1.29:1 Fails Lc -16.6 Dividers and decoration only
Black text on #CCEF87 16.26:1 AAA Lc 89.2 Fine for body text
#CCEF87 text on white 1.29:1 Fails Lc 14.4 Not readable
#CCEF87 text on black 16.26:1 AAA Lc -89.4 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

    #E2F0CC

    oklch(93.5% 0.05 124.7)

  3. Step 200

    200 (this color)

    #CCEF87

    oklch(90.4% 0.136 124.3)

  4. Step 300

    300

    #A9D341

    oklch(81% 0.175 124.2)

  5. Step 400

    400

    #89B200

    oklch(70.8% 0.177 124.5)

  6. Step 500

    500

    #759800

    oklch(63% 0.157 124.4)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #435800

    oklch(42.7% 0.106 124.1)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCEF87 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)#F9E37F0.063
Deuteranopia (no green cones)#F5E28D0.064
Tritanopia (no blue cones)#D3E6D60.110
Achromatopsia (no color)#E2E2E20.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCEF87

    #CCEF87

    oklch(90.4% 0.136 124.3)

  • #E8D7FF

    #E8D7FF

    oklch(90.5% 0.057 304.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCEF87

    #CCEF87

    oklch(90.4% 0.136 124.3)

  • #FDDE6D

    #FDDE6D

    oklch(90.5% 0.136 94.2)

  • #91FAB6

    #91FAB6

    oklch(90.4% 0.137 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #CCEF87

    #CCEF87

    oklch(90.4% 0.136 124.3)

  • #D6DEFF

    #D6DEFF

    oklch(90.5% 0.046 274.7)

  • #FFCEF4

    #FFCEF4

    oklch(90.5% 0.074 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCEF87

    #CCEF87

    oklch(90.4% 0.136 124.3)

  • #C4E4FF

    #C4E4FF

    oklch(90.4% 0.05 243.8)

  • #FFD2DB

    #FFD2DB

    oklch(90.5% 0.052 4.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCEF87

    #CCEF87

    oklch(90.4% 0.136 124.3)

  • #A3EDFF

    #A3EDFF

    oklch(90.4% 0.077 214.6)

  • #E8D7FF

    #E8D7FF

    oklch(90.5% 0.057 304.5)

  • #FFD4CA

    #FFD4CA

    oklch(90.4% 0.05 33.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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