#CFF28B

Closest named color: Pistachio (#C0FA8B). oklch(91.3% 0.135 124.4), rgb(207, 242, 139).

Aa

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

About this color

#CFF28B is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.135 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.026 away. Black text reads best on it, at 16.72:1.

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

Values

HEX#CFF28B
RGBrgb(207, 242, 139)
HSLhsl(80, 80%, 75%)
OKLCHoklch(91.3% 0.135 124.4)

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 #CFF28B 1.25:1 Fails Lc -14.6 Not readable
Black text on #CFF28B 16.72:1 AAA Lc 91.0 Preferred for body text
#CFF28B text on white 1.25:1 Fails Lc 12.6 Not readable
#CFF28B text on black 16.72:1 AAA Lc -91.3 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)

    #CFF28B

    oklch(91.3% 0.135 124.4)

  3. Step 200

    200

    #CBE59E

    oklch(88.6% 0.097 124.7)

  4. Step 300

    300

    #A9D343

    oklch(81% 0.174 124.3)

  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

#CFF28B 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)#FCE7830.061
Deuteranopia (no green cones)#F8E5900.063
Tritanopia (no blue cones)#D6E9D90.109
Achromatopsia (no color)#E5E5E50.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFF28B

    #CFF28B

    oklch(91.3% 0.135 124.4)

  • #EADBFF

    #EADBFF

    oklch(91.4% 0.051 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFF28B

    #CFF28B

    oklch(91.3% 0.135 124.4)

  • #FFE173

    #FFE173

    oklch(91.3% 0.134 94.3)

  • #95FDBA

    #95FDBA

    oklch(91.3% 0.135 154.5)

Open the analogous palette in the generator

Split complementary

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

  • #CFF28B

    #CFF28B

    oklch(91.3% 0.135 124.4)

  • #D9E1FF

    #D9E1FF

    oklch(91.3% 0.042 273.7)

  • #FFD3F5

    #FFD3F5

    oklch(91.4% 0.066 334.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFF28B

    #CFF28B

    oklch(91.3% 0.135 124.4)

  • #CAE6FF

    #CAE6FF

    oklch(91.2% 0.045 245.3)

  • #FFD6DE

    #FFD6DE

    oklch(91.3% 0.047 4.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFF28B

    #CFF28B

    oklch(91.3% 0.135 124.4)

  • #ADEFFF

    #ADEFFF

    oklch(91.3% 0.069 214.4)

  • #EADBFF

    #EADBFF

    oklch(91.4% 0.051 304.3)

  • #FFD8CF

    #FFD8CF

    oklch(91.3% 0.046 33.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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