#CEF08C

Closest named color: Pistachio (#C0FA8B). oklch(90.9% 0.132 124.3), rgb(206, 240, 140).

Aa

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

About this color

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

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

Values

HEX#CEF08C
RGBrgb(206, 240, 140)
HSLhsl(80, 77%, 75%)
OKLCHoklch(90.9% 0.132 124.3)

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 #CEF08C 1.27:1 Fails Lc -15.7 Dividers and decoration only
Black text on #CEF08C 16.46:1 AAA Lc 90.0 Preferred for body text
#CEF08C text on white 1.27:1 Fails Lc 13.6 Not readable
#CEF08C text on black 16.46:1 AAA Lc -90.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 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)

    #CEF08C

    oklch(90.9% 0.132 124.3)

  4. Step 300

    300

    #A9D248

    oklch(80.8% 0.169 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

#CEF08C 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.060
Deuteranopia (no green cones)#F5E3910.061
Tritanopia (no blue cones)#D4E7D80.107
Achromatopsia (no color)#E4E4E40.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #CEF08C

    #CEF08C

    oklch(90.9% 0.132 124.3)

  • #E9D8FF

    #E9D8FF

    oklch(90.8% 0.055 305)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CEF08C

    #CEF08C

    oklch(90.9% 0.132 124.3)

  • #FDE074

    #FDE074

    oklch(90.9% 0.132 94.6)

  • #96FBB9

    #96FBB9

    oklch(90.9% 0.132 154.2)

Open the analogous palette in the generator

Split complementary

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

  • #CEF08C

    #CEF08C

    oklch(90.9% 0.132 124.3)

  • #D7DFFF

    #D7DFFF

    oklch(90.8% 0.045 274.4)

  • #FFD0F4

    #FFD0F4

    oklch(90.9% 0.07 334.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CEF08C

    #CEF08C

    oklch(90.9% 0.132 124.3)

  • #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.

  • #CEF08C

    #CEF08C

    oklch(90.9% 0.132 124.3)

  • #A8EEFF

    #A8EEFF

    oklch(90.8% 0.073 214.5)

  • #E9D8FF

    #E9D8FF

    oklch(90.8% 0.055 305)

  • #FFD6CC

    #FFD6CC

    oklch(90.8% 0.048 34)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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