#CCD299

Closest named color: Greenish Beige (#C9D179). oklch(84.5% 0.075 112.9), rgb(204, 210, 153).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.24:1
White text1.58:1

Values

HEX#CCD299
RGBrgb(204, 210, 153)
HSLhsl(66, 39%, 71%)
OKLCHoklch(84.5% 0.075 112.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 #CCD299 1.58:1 Fails Lc -30.0 Non-text elements, placeholder text
Black text on #CCD299 13.24:1 AAA Lc 77.2 Fine for body text
#CCD299 text on white 1.58:1 Fails Lc 26.5 Dividers and decoration only
#CCD299 text on black 13.24:1 AAA Lc -76.5 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 300.

  1. Step 50

    50

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #EAECDB

    oklch(93.7% 0.023 112.3)

  3. Step 200

    200

    #D9DDBD

    oklch(88.6% 0.043 113.1)

  4. Step 300

    300 (this color)

    #CCD299

    oklch(84.5% 0.075 112.9)

  5. Step 400

    400

    #A1A848

    oklch(70.6% 0.12 112.9)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#CCD299 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)#DBCD950.022
Deuteranopia (no green cones)#DACE9B0.022
Tritanopia (no blue cones)#D3CBC30.066
Achromatopsia (no color)#CDCDCD0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD299

    #CCD299

    oklch(84.5% 0.075 112.9)

  • #CDC4FA

    #CDC4FA

    oklch(84.6% 0.075 292.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD299

    #CCD299

    oklch(84.5% 0.075 112.9)

  • #E4C894

    #E4C894

    oklch(84.4% 0.075 82.7)

  • #B0D9AD

    #B0D9AD

    oklch(84.4% 0.074 143.1)

Open the analogous palette in the generator

Split complementary

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

  • #CCD299

    #CCD299

    oklch(84.5% 0.075 112.9)

  • #B2CDFE

    #B2CDFE

    oklch(84.5% 0.075 262.2)

  • #E5BCE9

    #E5BCE9

    oklch(84.5% 0.076 323.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD299

    #CCD299

    oklch(84.5% 0.075 112.9)

  • #9AD5F6

    #9AD5F6

    oklch(84.4% 0.076 233.3)

  • #F4B8D0

    #F4B8D0

    oklch(84.4% 0.075 353)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD299

    #CCD299

    oklch(84.5% 0.075 112.9)

  • #8FDBE2

    #8FDBE2

    oklch(84.4% 0.076 203.2)

  • #CDC4FA

    #CDC4FA

    oklch(84.6% 0.075 292.4)

  • #FAB9B5

    #FAB9B5

    oklch(84.4% 0.076 22.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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