#CCE17E

Closest named color: Greenish Beige (#C9D179). oklch(87.3% 0.127 118.9), rgb(204, 225, 126).

Aa

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

About this color

#CCE17E is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.127 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.042 away. Black text reads best on it, at 14.63:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text14.63:1
White text1.43:1

Values

HEX#CCE17E
RGBrgb(204, 225, 126)
HSLhsl(73, 62%, 69%)
OKLCHoklch(87.3% 0.127 118.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 #CCE17E 1.43:1 Fails Lc -23.7 Dividers and decoration only
Black text on #CCE17E 14.63:1 AAA Lc 82.9 Fine for body text
#CCE17E text on white 1.43:1 Fails Lc 20.8 Dividers and decoration only
#CCE17E text on black 14.63:1 AAA Lc -82.6 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

    #F4F8E8

    oklch(97.2% 0.021 118.2)

  2. Step 100

    100

    #E6EFCC

    oklch(93.6% 0.047 119)

  3. Step 200

    200 (this color)

    #CCE17E

    oklch(87.3% 0.127 118.9)

  4. Step 300

    300

    #B6CF44

    oklch(81% 0.163 119)

  5. Step 400

    400

    #96AE00

    oklch(70.7% 0.166 119.1)

  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

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3D4800

    oklch(37.8% 0.089 119.1)

  11. Step 950

    950

    #232A00

    oklch(26.9% 0.063 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#CCE17E 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)#ECD7760.047
Deuteranopia (no green cones)#EAD8830.047
Tritanopia (no blue cones)#D5D8C90.106
Achromatopsia (no color)#D7D7D70.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCE17E

    #CCE17E

    oklch(87.3% 0.127 118.9)

  • #DBCBFF

    #DBCBFF

    oklch(87.2% 0.073 299)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCE17E

    #CCE17E

    oklch(87.3% 0.127 118.9)

  • #F7D16C

    #F7D16C

    oklch(87.3% 0.127 89)

  • #98ECA7

    #98ECA7

    oklch(87.2% 0.126 148.9)

Open the analogous palette in the generator

Split complementary

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

  • #CCE17E

    #CCE17E

    oklch(87.3% 0.127 118.9)

  • #C4D4FF

    #C4D4FF

    oklch(87.2% 0.062 269.1)

  • #FFBAFA

    #FFBAFA

    oklch(87.2% 0.114 329)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCE17E

    #CCE17E

    oklch(87.3% 0.127 118.9)

  • #AADCFF

    #AADCFF

    oklch(87.2% 0.071 239.1)

  • #FFC1D4

    #FFC1D4

    oklch(87.2% 0.075 358.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCE17E

    #CCE17E

    oklch(87.3% 0.127 118.9)

  • #65EBFF

    #65EBFF

    oklch(87.3% 0.119 208.7)

  • #DBCBFF

    #DBCBFF

    oklch(87.2% 0.073 299)

  • #FFC5BC

    #FFC5BC

    oklch(87.3% 0.068 28.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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