#CCF28E

Closest named color: Pistachio (#C0FA8B). oklch(91.2% 0.133 125.9), rgb(204, 242, 142).

Aa

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

About this color

#CCF28E is a very light, moderately saturated green. In OKLCH its lightness is 91%, its chroma 0.133 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pistachio (#C0FA8B), ΔE 0.026 away. Black text reads best on it, at 16.65:1.

Hue familyGreens
Lightnessvery light (91%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.65:1
White text1.26:1

Values

HEX#CCF28E
RGBrgb(204, 242, 142)
HSLhsl(83, 79%, 75%)
OKLCHoklch(91.2% 0.133 125.9)

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 #CCF28E 1.26:1 Fails Lc -14.9 Not readable
Black text on #CCF28E 16.65:1 AAA Lc 90.7 Preferred for body text
#CCF28E text on white 1.26:1 Fails Lc 12.9 Not readable
#CCF28E text on black 16.65:1 AAA Lc -91.1 Preferred 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 100.

  1. Step 50

    50

    #F1F9E8

    oklch(97.2% 0.024 127.6)

  2. Step 100

    100 (this color)

    #CCF28E

    oklch(91.2% 0.133 125.9)

  3. Step 200

    200

    #CAE5A0

    oklch(88.5% 0.095 125.6)

  4. Step 300

    300

    #A5D34A

    oklch(80.8% 0.171 125.9)

  5. Step 400

    400

    #85B300

    oklch(70.7% 0.18 125.9)

  6. Step 500

    500

    #719900

    oklch(63% 0.16 126)

  7. Step 600

    600

    #5F8100

    oklch(55.7% 0.141 125.9)

  8. Step 700

    700

    #4F6C00

    oklch(49% 0.125 125.9)

  9. Step 800

    800

    #405900

    oklch(42.8% 0.109 126.1)

  10. Step 900

    900

    #354A00

    oklch(37.7% 0.096 125.9)

  11. Step 950

    950

    #1E2C00

    oklch(27% 0.069 126.1)

Export this scale for Tailwind in the Tailwind colors tool

#CCF28E 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)#FCE6860.066
Deuteranopia (no green cones)#F6E4930.066
Tritanopia (no blue cones)#D2EADA0.106
Achromatopsia (no color)#E5E5E50.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCF28E

    #CCF28E

    oklch(91.2% 0.133 125.9)

  • #EBD9FF

    #EBD9FF

    oklch(91.2% 0.055 306.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCF28E

    #CCF28E

    oklch(91.2% 0.133 125.9)

  • #FCE274

    #FCE274

    oklch(91.3% 0.133 96.3)

  • #93FCBC

    #93FCBC

    oklch(91.1% 0.133 155.9)

Open the analogous palette in the generator

Split complementary

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

  • #CCF28E

    #CCF28E

    oklch(91.2% 0.133 125.9)

  • #DAE0FF

    #DAE0FF

    oklch(91.2% 0.043 276.8)

  • #FFD2F3

    #FFD2F3

    oklch(91.2% 0.066 335.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCF28E

    #CCF28E

    oklch(91.2% 0.133 125.9)

  • #CAE6FF

    #CAE6FF

    oklch(91.2% 0.045 245.3)

  • #FFD6DD

    #FFD6DD

    oklch(91.3% 0.047 6.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCF28E

    #CCF28E

    oklch(91.2% 0.133 125.9)

  • #AEEEFF

    #AEEEFF

    oklch(91.2% 0.068 216)

  • #EBD9FF

    #EBD9FF

    oklch(91.2% 0.055 306.7)

  • #FFD8CD

    #FFD8CD

    oklch(91.2% 0.046 36.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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