#CFF18C

Closest named color: Pistachio (#C0FA8B). oklch(91.1% 0.133 124.2), rgb(207, 241, 140).

Aa

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

About this color

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

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

Values

HEX#CFF18C
RGBrgb(207, 241, 140)
HSLhsl(80, 78%, 75%)
OKLCHoklch(91.1% 0.133 124.2)

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 #CFF18C 1.26:1 Fails Lc -15.1 Dividers and decoration only
Black text on #CFF18C 16.61:1 AAA Lc 90.6 Preferred for body text
#CFF18C text on white 1.26:1 Fails Lc 13.0 Not readable
#CFF18C text on black 16.61:1 AAA Lc -90.9 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)

    #CFF18C

    oklch(91.1% 0.133 124.2)

  3. Step 200

    200

    #CCE49F

    oklch(88.5% 0.094 123.9)

  4. Step 300

    300

    #AAD247

    oklch(80.9% 0.169 124)

  5. Step 400

    400

    #8AB200

    oklch(70.8% 0.176 124.2)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526B00

    oklch(49% 0.122 124.1)

  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

    #202C00

    oklch(27.2% 0.068 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#CFF18C 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)#FBE6840.060
Deuteranopia (no green cones)#F7E4910.062
Tritanopia (no blue cones)#D6E8D90.108
Achromatopsia (no color)#E5E5E50.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFF18C

    #CFF18C

    oklch(91.1% 0.133 124.2)

  • #E9DAFF

    #E9DAFF

    oklch(91.2% 0.052 303.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFF18C

    #CFF18C

    oklch(91.1% 0.133 124.2)

  • #FEE074

    #FEE074

    oklch(91% 0.132 94.1)

  • #97FCBA

    #97FCBA

    oklch(91.2% 0.132 154.3)

Open the analogous palette in the generator

Split complementary

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

  • #CFF18C

    #CFF18C

    oklch(91.1% 0.133 124.2)

  • #D9E0FF

    #D9E0FF

    oklch(91.1% 0.043 275.4)

  • #FFD1F5

    #FFD1F5

    oklch(91.1% 0.069 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFF18C

    #CFF18C

    oklch(91.1% 0.133 124.2)

  • #C9E6FF

    #C9E6FF

    oklch(91.2% 0.046 244.3)

  • #FFD5DE

    #FFD5DE

    oklch(91.1% 0.048 3.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFF18C

    #CFF18C

    oklch(91.1% 0.133 124.2)

  • #ABEFFF

    #ABEFFF

    oklch(91.2% 0.071 213.9)

  • #E9DAFF

    #E9DAFF

    oklch(91.2% 0.052 303.8)

  • #FFD7CE

    #FFD7CE

    oklch(91.1% 0.047 32.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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