#CDE398

Closest named color: Light Grey Green (#B7E1A1). oklch(88.2% 0.1 121.8), rgb(205, 227, 152).

Aa

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

About this color

#CDE398 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.100 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.029 away. Black text reads best on it, at 15.03:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text15.03:1
White text1.39:1

Values

HEX#CDE398
RGBrgb(205, 227, 152)
HSLhsl(78, 57%, 74%)
OKLCHoklch(88.2% 0.1 121.8)

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 #CDE398 1.39:1 Fails Lc -21.9 Dividers and decoration only
Black text on #CDE398 15.03:1 AAA Lc 84.5 Fine for body text
#CDE398 text on white 1.39:1 Fails Lc 19.2 Dividers and decoration only
#CDE398 text on black 15.03:1 AAA Lc -84.3 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)

    #CDE398

    oklch(88.2% 0.1 121.8)

  4. Step 300

    300

    #B3CE6B

    oklch(81% 0.129 121.9)

  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

    #3A4800

    oklch(37.6% 0.091 121.4)

  11. Step 950

    950

    #212B00

    oklch(27% 0.066 122.2)

Export this scale for Tailwind in the Tailwind colors tool

#CDE398 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)#ECDB930.043
Deuteranopia (no green cones)#E9DA9B0.044
Tritanopia (no blue cones)#D3DCD00.082
Achromatopsia (no color)#DADADA0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDE398

    #CDE398

    oklch(88.2% 0.1 121.8)

  • #E0CEFF

    #E0CEFF

    oklch(88.2% 0.069 301.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDE398

    #CDE398

    oklch(88.2% 0.1 121.8)

  • #F0D68A

    #F0D68A

    oklch(88.1% 0.1 91.3)

  • #A6ECB7

    #A6ECB7

    oklch(88.3% 0.101 151.5)

Open the analogous palette in the generator

Split complementary

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

  • #CDE398

    #CDE398

    oklch(88.2% 0.1 121.8)

  • #CAD7FF

    #CAD7FF

    oklch(88.2% 0.057 271)

  • #FFC1F5

    #FFC1F5

    oklch(88.2% 0.097 332)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDE398

    #CDE398

    oklch(88.2% 0.1 121.8)

  • #B4DEFF

    #B4DEFF

    oklch(88.2% 0.063 242.1)

  • #FFC6D5

    #FFC6D5

    oklch(88.1% 0.067 1.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDE398

    #CDE398

    oklch(88.2% 0.1 121.8)

  • #83EAFE

    #83EAFE

    oklch(88.2% 0.1 211.6)

  • #E0CEFF

    #E0CEFF

    oklch(88.2% 0.069 301.8)

  • #FFCABF

    #FFCABF

    oklch(88.3% 0.063 31.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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