#CDD998

Closest named color: Light Grey Green (#B7E1A1). oklch(86.1% 0.086 116.8), rgb(205, 217, 152).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameLight Grey Green (#B7E1A1)
Black text13.97:1
White text1.50:1

Values

HEX#CDD998
RGBrgb(205, 217, 152)
HSLhsl(71, 46%, 72%)
OKLCHoklch(86.1% 0.086 116.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 #CDD998 1.50:1 Fails Lc -26.7 Dividers and decoration only
Black text on #CDD998 13.97:1 AAA Lc 80.2 Fine for body text
#CDD998 text on white 1.50:1 Fails Lc 23.5 Dividers and decoration only
#CDD998 text on black 13.97:1 AAA Lc -79.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

    #F4F7EC

    oklch(97.1% 0.015 119.1)

  2. Step 100

    100

    #E8EDD5

    oklch(93.6% 0.032 116.6)

  3. Step 200

    200 (this color)

    #CDD998

    oklch(86.1% 0.086 116.8)

  4. Step 300

    300

    #BCCA75

    oklch(80.9% 0.11 116.6)

  5. Step 400

    400

    #9BAC00

    oklch(70.7% 0.162 116.6)

  6. Step 500

    500

    #859400

    oklch(63.2% 0.145 116.7)

  7. Step 600

    600

    #6F7C00

    oklch(55.6% 0.128 116.8)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4700

    oklch(37.7% 0.087 116.8)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#CDD998 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)#E2D2940.031
Deuteranopia (no green cones)#E1D39B0.032
Tritanopia (no blue cones)#D4D2C80.073
Achromatopsia (no color)#D3D3D30.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDD998

    #CDD998

    oklch(86.1% 0.086 116.8)

  • #D6C7FF

    #D6C7FF

    oklch(86% 0.078 297)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDD998

    #CDD998

    oklch(86.1% 0.086 116.8)

  • #EACE8F

    #EACE8F

    oklch(86.1% 0.086 86.6)

  • #ACE1B0

    #ACE1B0

    oklch(86% 0.087 146.7)

Open the analogous palette in the generator

Split complementary

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

  • #CDD998

    #CDD998

    oklch(86.1% 0.086 116.8)

  • #BDD1FF

    #BDD1FF

    oklch(86.1% 0.068 266.6)

  • #F0BEEF

    #F0BEEF

    oklch(86.1% 0.086 326.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDD998

    #CDD998

    oklch(86.1% 0.086 116.8)

  • #9FDAFF

    #9FDAFF

    oklch(86.1% 0.079 236.4)

  • #FFBBD2

    #FFBBD2

    oklch(86.1% 0.083 356.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDD998

    #CDD998

    oklch(86.1% 0.086 116.8)

  • #8AE2EE

    #8AE2EE

    oklch(86.2% 0.086 206.8)

  • #D6C7FF

    #D6C7FF

    oklch(86% 0.078 297)

  • #FFBFB7

    #FFBFB7

    oklch(86.1% 0.075 26.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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