#CCD99E

Closest named color: Light Grey Green (#B7E1A1). oklch(86.1% 0.079 118.2), rgb(204, 217, 158).

Aa

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

About this color

#CCD99E is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.079 and its hue 118°. 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.98:1.

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

Values

HEX#CCD99E
RGBrgb(204, 217, 158)
HSLhsl(73, 44%, 74%)
OKLCHoklch(86.1% 0.079 118.2)

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 #CCD99E 1.50:1 Fails Lc -26.6 Dividers and decoration only
Black text on #CCD99E 13.98:1 AAA Lc 80.3 Fine for body text
#CCD99E text on white 1.50:1 Fails Lc 23.5 Dividers and decoration only
#CCD99E text on black 13.98: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

    #F4F7ED

    oklch(97.1% 0.014 120.3)

  2. Step 100

    100

    #E8EDD7

    oklch(93.6% 0.03 117.4)

  3. Step 200

    200 (this color)

    #CCD99E

    oklch(86.1% 0.079 118.2)

  4. Step 300

    300

    #BACA7D

    oklch(80.9% 0.102 118.3)

  5. Step 400

    400

    #98AD0B

    oklch(70.7% 0.163 118.2)

  6. Step 500

    500

    #829400

    oklch(63% 0.147 118)

  7. Step 600

    600

    #6D7D00

    oklch(55.7% 0.13 118.3)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A00

    oklch(27% 0.063 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#CCD99E 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)#E1D39A0.030
Deuteranopia (no green cones)#DFD3A00.030
Tritanopia (no blue cones)#D2D3C90.066
Achromatopsia (no color)#D3D3D30.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD99E

    #CCD99E

    oklch(86.1% 0.079 118.2)

  • #D7C7FF

    #D7C7FF

    oklch(86.1% 0.078 297.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD99E

    #CCD99E

    oklch(86.1% 0.079 118.2)

  • #E7CF95

    #E7CF95

    oklch(86.1% 0.08 88.1)

  • #AEE0B5

    #AEE0B5

    oklch(86% 0.079 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #CCD99E

    #CCD99E

    oklch(86.1% 0.079 118.2)

  • #BED0FF

    #BED0FF

    oklch(86% 0.068 268.5)

  • #EFBFEC

    #EFBFEC

    oklch(86.1% 0.08 328.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD99E

    #CCD99E

    oklch(86.1% 0.079 118.2)

  • #A1D9FF

    #A1D9FF

    oklch(86% 0.078 238.5)

  • #FDBCD1

    #FDBCD1

    oklch(86% 0.079 357.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD99E

    #CCD99E

    oklch(86.1% 0.079 118.2)

  • #91E0ED

    #91E0ED

    oklch(86% 0.079 208.9)

  • #D7C7FF

    #D7C7FF

    oklch(86.1% 0.078 297.8)

  • #FFBFB6

    #FFBFB6

    oklch(86.1% 0.075 27.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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