#CFE28A

Closest named color: Light Grey Green (#B7E1A1). oklch(87.9% 0.114 118.8), rgb(207, 226, 138).

Aa

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

About this color

#CFE28A is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.114 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.038 away. Black text reads best on it, at 14.89:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.89:1
White text1.40:1

Values

HEX#CFE28A
RGBrgb(207, 226, 138)
HSLhsl(73, 60%, 71%)
OKLCHoklch(87.9% 0.114 118.8)

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 #CFE28A 1.40:1 Fails Lc -22.5 Dividers and decoration only
Black text on #CFE28A 14.89:1 AAA Lc 84.0 Fine for body text
#CFE28A text on white 1.40:1 Fails Lc 19.7 Dividers and decoration only
#CFE28A text on black 14.89:1 AAA Lc -83.7 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

    #F4F8E9

    oklch(97.2% 0.02 118.9)

  2. Step 100

    100

    #E6EECF

    oklch(93.5% 0.042 119)

  3. Step 200

    200 (this color)

    #CFE28A

    oklch(87.9% 0.114 118.8)

  4. Step 300

    300

    #B7CD56

    oklch(80.8% 0.146 118.6)

  5. Step 400

    400

    #97AE00

    oklch(70.8% 0.166 118.8)

  6. Step 500

    500

    #819500

    oklch(63.2% 0.148 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4700

    oklch(37.6% 0.088 118.5)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#CFE28A 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)#EDD9830.043
Deuteranopia (no green cones)#EADA8E0.042
Tritanopia (no blue cones)#D7D9CC0.097
Achromatopsia (no color)#D9D9D90.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFE28A

    #CFE28A

    oklch(87.9% 0.114 118.8)

  • #DDCEFF

    #DDCEFF

    oklch(87.9% 0.069 299)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFE28A

    #CFE28A

    oklch(87.9% 0.114 118.8)

  • #F6D37B

    #F6D37B

    oklch(87.8% 0.114 88.3)

  • #A1ECAD

    #A1ECAD

    oklch(87.8% 0.114 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #CFE28A

    #CFE28A

    oklch(87.9% 0.114 118.8)

  • #C7D6FF

    #C7D6FF

    oklch(87.8% 0.059 269.4)

  • #FFBEFB

    #FFBEFB

    oklch(87.9% 0.108 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFE28A

    #CFE28A

    oklch(87.9% 0.114 118.8)

  • #AFDEFF

    #AFDEFF

    oklch(87.9% 0.067 239.1)

  • #FFC4D6

    #FFC4D6

    oklch(87.8% 0.071 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFE28A

    #CFE28A

    oklch(87.9% 0.114 118.8)

  • #6FECFF

    #6FECFF

    oklch(87.9% 0.114 208.7)

  • #DDCEFF

    #DDCEFF

    oklch(87.9% 0.069 299)

  • #FFC8BF

    #FFC8BF

    oklch(87.9% 0.064 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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