#CFF08C

Closest named color: Pistachio (#C0FA8B). oklch(90.9% 0.131 123.9), rgb(207, 240, 140).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest namePistachio (#C0FA8B)
Black text16.49:1
White text1.27:1

Values

HEX#CFF08C
RGBrgb(207, 240, 140)
HSLhsl(80, 77%, 75%)
OKLCHoklch(90.9% 0.131 123.9)

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 #CFF08C 1.27:1 Fails Lc -15.6 Dividers and decoration only
Black text on #CFF08C 16.49:1 AAA Lc 90.1 Preferred for body text
#CFF08C text on white 1.27:1 Fails Lc 13.5 Not readable
#CFF08C text on black 16.49:1 AAA Lc -90.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 200.

  1. Step 50

    50

    #F2F8E8

    oklch(97% 0.022 123.6)

  2. Step 100

    100

    #E3F0CD

    oklch(93.6% 0.048 123.9)

  3. Step 200

    200 (this color)

    #CFF08C

    oklch(90.9% 0.131 123.9)

  4. Step 300

    300

    #AAD248

    oklch(80.9% 0.169 124)

  5. Step 400

    400

    #8AB100

    oklch(70.6% 0.175 124)

  6. Step 500

    500

    #769800

    oklch(63.1% 0.157 124)

  7. Step 600

    600

    #638000

    oklch(55.7% 0.138 124)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  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

    #202B00

    oklch(26.9% 0.066 123.3)

Export this scale for Tailwind in the Tailwind colors tool

#CFF08C 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)#FAE5840.059
Deuteranopia (no green cones)#F6E4910.060
Tritanopia (no blue cones)#D6E7D80.107
Achromatopsia (no color)#E4E4E40.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFF08C

    #CFF08C

    oklch(90.9% 0.131 123.9)

  • #E8D9FF

    #E8D9FF

    oklch(90.9% 0.054 303.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFF08C

    #CFF08C

    oklch(90.9% 0.131 123.9)

  • #FEE074

    #FEE074

    oklch(91% 0.132 94.1)

  • #98FBB9

    #98FBB9

    oklch(91% 0.131 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #CFF08C

    #CFF08C

    oklch(90.9% 0.131 123.9)

  • #D7E0FF

    #D7E0FF

    oklch(91% 0.044 272.7)

  • #FFD0F5

    #FFD0F5

    oklch(90.9% 0.071 333.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFF08C

    #CFF08C

    oklch(90.9% 0.131 123.9)

  • #C7E5FF

    #C7E5FF

    oklch(90.8% 0.048 244.5)

  • #FFD4DD

    #FFD4DD

    oklch(90.9% 0.049 4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFF08C

    #CFF08C

    oklch(90.9% 0.131 123.9)

  • #A8EEFF

    #A8EEFF

    oklch(90.8% 0.073 214.5)

  • #E8D9FF

    #E8D9FF

    oklch(90.9% 0.054 303.3)

  • #FFD6CD

    #FFD6CD

    oklch(90.8% 0.048 32.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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