#CCE18B

Closest named color: Light Grey Green (#B7E1A1). oklch(87.5% 0.113 120), rgb(204, 225, 139).

Aa

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

About this color

#CCE18B is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.113 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Grey Green (#B7E1A1), ΔE 0.034 away. Black text reads best on it, at 14.71:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.71:1
White text1.42:1

Values

HEX#CCE18B
RGBrgb(204, 225, 139)
HSLhsl(75, 59%, 71%)
OKLCHoklch(87.5% 0.113 120)

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 #CCE18B 1.42:1 Fails Lc -23.4 Dividers and decoration only
Black text on #CCE18B 14.71:1 AAA Lc 83.2 Fine for body text
#CCE18B text on white 1.42:1 Fails Lc 20.5 Dividers and decoration only
#CCE18B text on black 14.71:1 AAA Lc -82.9 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

    #F3F8E9

    oklch(97.1% 0.02 121.8)

  2. Step 100

    100

    #E6EFD0

    oklch(93.7% 0.042 120.4)

  3. Step 200

    200 (this color)

    #CCE18B

    oklch(87.5% 0.113 120)

  4. Step 300

    300

    #B5CE5A

    oklch(80.9% 0.145 119.9)

  5. Step 400

    400

    #94AE00

    oklch(70.6% 0.167 119.8)

  6. Step 500

    500

    #7F9600

    oklch(63.3% 0.15 120)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232B00

    oklch(27.2% 0.064 120)

Export this scale for Tailwind in the Tailwind colors tool

#CCE18B 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)#EBD8850.045
Deuteranopia (no green cones)#E9D88F0.046
Tritanopia (no blue cones)#D3D9CC0.094
Achromatopsia (no color)#D8D8D80.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCE18B

    #CCE18B

    oklch(87.5% 0.113 120)

  • #DDCCFF

    #DDCCFF

    oklch(87.6% 0.072 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCE18B

    #CCE18B

    oklch(87.5% 0.113 120)

  • #F2D37C

    #F2D37C

    oklch(87.5% 0.112 90.4)

  • #9FEBAE

    #9FEBAE

    oklch(87.5% 0.113 149.8)

Open the analogous palette in the generator

Split complementary

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

  • #CCE18B

    #CCE18B

    oklch(87.5% 0.113 120)

  • #C6D5FF

    #C6D5FF

    oklch(87.5% 0.061 269.7)

  • #FFBCF8

    #FFBCF8

    oklch(87.5% 0.109 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCE18B

    #CCE18B

    oklch(87.5% 0.113 120)

  • #ADDDFF

    #ADDDFF

    oklch(87.5% 0.069 239.4)

  • #FFC2D4

    #FFC2D4

    oklch(87.4% 0.073 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCE18B

    #CCE18B

    oklch(87.5% 0.113 120)

  • #70EAFF

    #70EAFF

    oklch(87.5% 0.113 210.3)

  • #DDCCFF

    #DDCCFF

    oklch(87.6% 0.072 300.2)

  • #FFC6BC

    #FFC6BC

    oklch(87.5% 0.067 29.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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