#CFF28D

Closest named color: Pistachio (#C0FA8B). oklch(91.4% 0.133 124.6), rgb(207, 242, 141).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.73:1
White text1.25:1

Values

HEX#CFF28D
RGBrgb(207, 242, 141)
HSLhsl(81, 80%, 75%)
OKLCHoklch(91.4% 0.133 124.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 #CFF28D 1.25:1 Fails Lc -14.5 Not readable
Black text on #CFF28D 16.73:1 AAA Lc 91.0 Preferred for body text
#CFF28D text on white 1.25:1 Fails Lc 12.6 Not readable
#CFF28D text on black 16.73:1 AAA Lc -91.4 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

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100 (this color)

    #CFF28D

    oklch(91.4% 0.133 124.6)

  3. Step 200

    200

    #CBE59F

    oklch(88.6% 0.096 124.9)

  4. Step 300

    300

    #A9D347

    oklch(81% 0.171 124.5)

  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

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  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

#CFF28D 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)#FCE7850.061
Deuteranopia (no green cones)#F7E5920.062
Tritanopia (no blue cones)#D5E9DA0.108
Achromatopsia (no color)#E5E5E50.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFF28D

    #CFF28D

    oklch(91.4% 0.133 124.6)

  • #EADBFF

    #EADBFF

    oklch(91.4% 0.051 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFF28D

    #CFF28D

    oklch(91.4% 0.133 124.6)

  • #FFE174

    #FFE174

    oklch(91.3% 0.133 94.2)

  • #96FDBB

    #96FDBB

    oklch(91.4% 0.133 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #CFF28D

    #CFF28D

    oklch(91.4% 0.133 124.6)

  • #DAE1FF

    #DAE1FF

    oklch(91.4% 0.042 275.1)

  • #FFD3F4

    #FFD3F4

    oklch(91.4% 0.065 335)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFF28D

    #CFF28D

    oklch(91.4% 0.133 124.6)

  • #CAE7FF

    #CAE7FF

    oklch(91.4% 0.045 243.2)

  • #FFD6DE

    #FFD6DE

    oklch(91.3% 0.047 4.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFF28D

    #CFF28D

    oklch(91.4% 0.133 124.6)

  • #AEEFFF

    #AEEFFF

    oklch(91.4% 0.068 214.7)

  • #EADBFF

    #EADBFF

    oklch(91.4% 0.051 304.3)

  • #FFD9CF

    #FFD9CF

    oklch(91.5% 0.045 35.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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