#CCF28F

Closest named color: Pistachio (#C0FA8B). oklch(91.2% 0.132 126), rgb(204, 242, 143).

Aa

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

About this color

#CCF28F is a very light, moderately saturated green. In OKLCH its lightness is 91%, its chroma 0.132 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.66:1.

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

Values

HEX#CCF28F
RGBrgb(204, 242, 143)
HSLhsl(83, 79%, 75%)
OKLCHoklch(91.2% 0.132 126)

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 #CCF28F 1.26:1 Fails Lc -14.8 Not readable
Black text on #CCF28F 16.66:1 AAA Lc 90.8 Preferred for body text
#CCF28F text on white 1.26:1 Fails Lc 12.8 Not readable
#CCF28F text on black 16.66: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)

    #CCF28F

    oklch(91.2% 0.132 126)

  3. Step 200

    200

    #C9E5A1

    oklch(88.5% 0.094 126.4)

  4. Step 300

    300

    #A5D34C

    oklch(80.8% 0.169 126)

  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

#CCF28F 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)#FCE6870.066
Deuteranopia (no green cones)#F6E4940.066
Tritanopia (no blue cones)#D1EADA0.105
Achromatopsia (no color)#E5E5E50.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCF28F

    #CCF28F

    oklch(91.2% 0.132 126)

  • #EBD9FF

    #EBD9FF

    oklch(91.2% 0.055 306.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCF28F

    #CCF28F

    oklch(91.2% 0.132 126)

  • #FCE275

    #FCE275

    oklch(91.3% 0.132 96.2)

  • #94FCBD

    #94FCBD

    oklch(91.1% 0.131 156.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCF28F

    #CCF28F

    oklch(91.2% 0.132 126)

  • #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.

  • #CCF28F

    #CCF28F

    oklch(91.2% 0.132 126)

  • #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.

  • #CCF28F

    #CCF28F

    oklch(91.2% 0.132 126)

  • #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 #CCF28F, closest first.

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

Similar named colors

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

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