#CCE298

Closest named color: Light Grey Green (#B7E1A1). oklch(87.9% 0.099 121.9), rgb(204, 226, 152).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text14.89:1
White text1.40:1

Values

HEX#CCE298
RGBrgb(204, 226, 152)
HSLhsl(78, 56%, 74%)
OKLCHoklch(87.9% 0.099 121.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 #CCE298 1.40:1 Fails Lc -22.5 Dividers and decoration only
Black text on #CCE298 14.89:1 AAA Lc 83.9 Fine for body text
#CCE298 text on white 1.40:1 Fails Lc 19.8 Dividers and decoration only
#CCE298 text on black 14.89:1 AAA Lc -83.7 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

    #F3F7EB

    oklch(97% 0.016 121.8)

  2. Step 100

    100

    #E5EED3

    oklch(93.5% 0.037 122.1)

  3. Step 200

    200 (this color)

    #CCE298

    oklch(87.9% 0.099 121.9)

  4. Step 300

    300

    #B3CE6C

    oklch(81% 0.128 122)

  5. Step 400

    400

    #90B000

    oklch(70.8% 0.171 121.8)

  6. Step 500

    500

    #7B9700

    oklch(63.2% 0.153 121.9)

  7. Step 600

    600

    #677F00

    oklch(55.7% 0.135 121.9)

  8. Step 700

    700

    #566A00

    oklch(49% 0.118 121.7)

  9. Step 800

    800

    #465700

    oklch(42.7% 0.103 121.8)

  10. Step 900

    900

    #3A4900

    oklch(37.9% 0.092 122)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#CCE298 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)#EBDA930.044
Deuteranopia (no green cones)#E8D99B0.044
Tritanopia (no blue cones)#D2DBCF0.081
Achromatopsia (no color)#D9D9D90.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCE298

    #CCE298

    oklch(87.9% 0.099 121.9)

  • #DFCDFF

    #DFCDFF

    oklch(87.9% 0.071 301.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCE298

    #CCE298

    oklch(87.9% 0.099 121.9)

  • #EFD68A

    #EFD68A

    oklch(88% 0.099 91.9)

  • #A5EAB7

    #A5EAB7

    oklch(87.8% 0.099 152.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCE298

    #CCE298

    oklch(87.9% 0.099 121.9)

  • #C9D6FF

    #C9D6FF

    oklch(88% 0.059 271.3)

  • #FEBFF5

    #FEBFF5

    oklch(87.8% 0.1 331.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCE298

    #CCE298

    oklch(87.9% 0.099 121.9)

  • #B2DDFF

    #B2DDFF

    oklch(87.8% 0.065 242.3)

  • #FFC5D4

    #FFC5D4

    oklch(87.9% 0.069 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCE298

    #CCE298

    oklch(87.9% 0.099 121.9)

  • #83E9FD

    #83E9FD

    oklch(87.9% 0.099 211.8)

  • #DFCDFF

    #DFCDFF

    oklch(87.9% 0.071 301.4)

  • #FFC8BD

    #FFC8BD

    oklch(87.9% 0.065 31.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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