#CCE06F

Closest named color: Greenish Beige (#C9D179). oklch(86.8% 0.14 117.7), rgb(204, 224, 111).

Aa

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

About this color

#CCE06F is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.140 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.045 away. Black text reads best on it, at 14.45:1.

Hue familyYellows
Lightnesslight (87%)
Chromavivid (0.140)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text14.45:1
White text1.45:1

Values

HEX#CCE06F
RGBrgb(204, 224, 111)
HSLhsl(71, 65%, 66%)
OKLCHoklch(86.8% 0.14 117.7)

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 #CCE06F 1.45:1 Fails Lc -24.4 Dividers and decoration only
Black text on #CCE06F 14.45:1 AAA Lc 82.2 Fine for body text
#CCE06F text on white 1.45:1 Fails Lc 21.5 Dividers and decoration only
#CCE06F text on black 14.45:1 AAA Lc -81.8 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

    #F4F8E6

    oklch(97.1% 0.024 117)

  2. Step 100

    100

    #E6EFC8

    oklch(93.5% 0.052 118)

  3. Step 200

    200 (this color)

    #CCE06F

    oklch(86.8% 0.14 117.7)

  4. Step 300

    300

    #B8CF21

    oklch(81% 0.181 117.7)

  5. Step 400

    400

    #99AD00

    oklch(70.7% 0.164 117.7)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5600

    oklch(42.8% 0.1 117.9)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#CCE06F 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)#EDD6650.048
Deuteranopia (no green cones)#EBD7750.049
Tritanopia (no blue cones)#D6D6C60.119
Achromatopsia (no color)#D6D6D60.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCE06F

    #CCE06F

    oklch(86.8% 0.14 117.7)

  • #D9CAFF

    #D9CAFF

    oklch(86.9% 0.074 297.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCE06F

    #CCE06F

    oklch(86.8% 0.14 117.7)

  • #FACE5B

    #FACE5B

    oklch(86.8% 0.14 88.1)

  • #90ED9E

    #90ED9E

    oklch(86.8% 0.141 147.9)

Open the analogous palette in the generator

Split complementary

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

  • #CCE06F

    #CCE06F

    oklch(86.8% 0.14 117.7)

  • #C1D3FF

    #C1D3FF

    oklch(86.8% 0.064 267.6)

  • #FFB7FC

    #FFB7FC

    oklch(86.8% 0.121 328)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCE06F

    #CCE06F

    oklch(86.8% 0.14 117.7)

  • #A6DCFF

    #A6DCFF

    oklch(86.9% 0.074 237.1)

  • #FFBFD4

    #FFBFD4

    oklch(86.9% 0.078 357.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCE06F

    #CCE06F

    oklch(86.8% 0.14 117.7)

  • #54EBFF

    #54EBFF

    oklch(86.9% 0.128 207.7)

  • #D9CAFF

    #D9CAFF

    oklch(86.9% 0.074 297.8)

  • #FFC3BA

    #FFC3BA

    oklch(86.9% 0.07 28.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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