#CCD297

Closest named color: Greenish Beige (#C9D179). oklch(84.5% 0.078 112.8), rgb(204, 210, 151).

Aa

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

About this color

#CCD297 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.078 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.036 away. Black text reads best on it, at 13.23:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.23:1
White text1.58:1

Values

HEX#CCD297
RGBrgb(204, 210, 151)
HSLhsl(66, 40%, 71%)
OKLCHoklch(84.5% 0.078 112.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 #CCD297 1.58:1 Fails Lc -30.1 Non-text elements, placeholder text
Black text on #CCD297 13.23:1 AAA Lc 77.2 Fine for body text
#CCD297 text on white 1.58:1 Fails Lc 26.6 Dividers and decoration only
#CCD297 text on black 13.23:1 AAA Lc -76.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 300.

  1. Step 50

    50

    #F5F6EE

    oklch(97% 0.011 112.4)

  2. Step 100

    100

    #EAECDB

    oklch(93.7% 0.023 112.3)

  3. Step 200

    200

    #D9DDBC

    oklch(88.6% 0.044 112.9)

  4. Step 300

    300 (this color)

    #CCD297

    oklch(84.5% 0.078 112.8)

  5. Step 400

    400

    #A2A843

    oklch(70.7% 0.124 112.3)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  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

#CCD297 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)#DBCC930.024
Deuteranopia (no green cones)#DBCE990.023
Tritanopia (no blue cones)#D3CBC20.067
Achromatopsia (no color)#CDCDCD0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD297

    #CCD297

    oklch(84.5% 0.078 112.8)

  • #CDC3FB

    #CDC3FB

    oklch(84.4% 0.078 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD297

    #CCD297

    oklch(84.5% 0.078 112.8)

  • #E5C892

    #E5C892

    oklch(84.5% 0.077 82.7)

  • #AFDAAB

    #AFDAAB

    oklch(84.5% 0.079 142.6)

Open the analogous palette in the generator

Split complementary

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

  • #CCD297

    #CCD297

    oklch(84.5% 0.078 112.8)

  • #B2CDFF

    #B2CDFF

    oklch(84.6% 0.076 262.6)

  • #E5BCEA

    #E5BCEA

    oklch(84.5% 0.077 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD297

    #CCD297

    oklch(84.5% 0.078 112.8)

  • #98D6F7

    #98D6F7

    oklch(84.6% 0.078 232.1)

  • #F5B8D1

    #F5B8D1

    oklch(84.5% 0.077 352.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD297

    #CCD297

    oklch(84.5% 0.078 112.8)

  • #8DDCE2

    #8DDCE2

    oklch(84.6% 0.078 201.9)

  • #CDC3FB

    #CDC3FB

    oklch(84.4% 0.078 292.8)

  • #FBB9B5

    #FBB9B5

    oklch(84.5% 0.077 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 #CCD297, closest first.

Similar named colors

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

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