#CDD98F

Closest named color: Greenish Beige (#C9D179). oklch(85.9% 0.097 116), rgb(205, 217, 143).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.91:1
White text1.50:1

Values

HEX#CDD98F
RGBrgb(205, 217, 143)
HSLhsl(70, 49%, 71%)
OKLCHoklch(85.9% 0.097 116)

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 #CDD98F 1.50:1 Fails Lc -26.9 Dividers and decoration only
Black text on #CDD98F 13.91:1 AAA Lc 80.0 Fine for body text
#CDD98F text on white 1.50:1 Fails Lc 23.7 Dividers and decoration only
#CDD98F text on black 13.91:1 AAA Lc -79.4 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

    #F5F7EB

    oklch(97.1% 0.016 114.4)

  2. Step 100

    100

    #E8EDD2

    oklch(93.5% 0.036 115.6)

  3. Step 200

    200 (this color)

    #CDD98F

    oklch(85.9% 0.097 116)

  4. Step 300

    300

    #BCCB68

    oklch(81% 0.125 116.4)

  5. Step 400

    400

    #9CAC00

    oklch(70.7% 0.162 116.2)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#CDD98F 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)#E3D28A0.032
Deuteranopia (no green cones)#E2D3920.033
Tritanopia (no blue cones)#D5D1C60.083
Achromatopsia (no color)#D2D2D20.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #CDD98F

    #CDD98F

    oklch(85.9% 0.097 116)

  • #D5C7FF

    #D5C7FF

    oklch(86% 0.078 296.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CDD98F

    #CDD98F

    oklch(85.9% 0.097 116)

  • #EDCD85

    #EDCD85

    oklch(86% 0.098 86.4)

  • #A8E2AB

    #A8E2AB

    oklch(85.9% 0.096 146)

Open the analogous palette in the generator

Split complementary

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

  • #CDD98F

    #CDD98F

    oklch(85.9% 0.097 116)

  • #BBD0FF

    #BBD0FF

    oklch(85.8% 0.07 266.1)

  • #F2BBF3

    #F2BBF3

    oklch(85.9% 0.096 325.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CDD98F

    #CDD98F

    oklch(85.9% 0.097 116)

  • #9DDAFF

    #9DDAFF

    oklch(86% 0.081 235.6)

  • #FFBAD2

    #FFBAD2

    oklch(85.9% 0.085 356.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CDD98F

    #CDD98F

    oklch(85.9% 0.097 116)

  • #7DE3F0

    #7DE3F0

    oklch(85.9% 0.097 206.3)

  • #D5C7FF

    #D5C7FF

    oklch(86% 0.078 296.2)

  • #FFBEB7

    #FFBEB7

    oklch(85.9% 0.076 25.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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