#CCD795

Closest named color: Greenish Beige (#C9D179). oklch(85.5% 0.087 116), rgb(204, 215, 149).

Aa

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

About this color

#CCD795 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.087 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.032 away. Black text reads best on it, at 13.72:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.72:1
White text1.53:1

Values

HEX#CCD795
RGBrgb(204, 215, 149)
HSLhsl(70, 45%, 71%)
OKLCHoklch(85.5% 0.087 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 #CCD795 1.53:1 Fails Lc -27.8 Dividers and decoration only
Black text on #CCD795 13.72:1 AAA Lc 79.2 Fine for body text
#CCD795 text on white 1.53:1 Fails Lc 24.6 Dividers and decoration only
#CCD795 text on black 13.72:1 AAA Lc -78.6 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

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #E8EDD5

    oklch(93.6% 0.032 116.6)

  3. Step 200

    200 (this color)

    #CCD795

    oklch(85.5% 0.087 116)

  4. Step 300

    300

    #BDCA73

    oklch(81% 0.112 115.9)

  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

#CCD795 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)#E0D0910.030
Deuteranopia (no green cones)#DFD1980.031
Tritanopia (no blue cones)#D3D0C60.074
Achromatopsia (no color)#D1D1D10.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #CCD795

    #CCD795

    oklch(85.5% 0.087 116)

  • #D3C5FF

    #D3C5FF

    oklch(85.4% 0.081 295.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CCD795

    #CCD795

    oklch(85.5% 0.087 116)

  • #E9CC8D

    #E9CC8D

    oklch(85.5% 0.087 85.9)

  • #ABDFAD

    #ABDFAD

    oklch(85.4% 0.087 145.7)

Open the analogous palette in the generator

Split complementary

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

  • #CCD795

    #CCD795

    oklch(85.5% 0.087 116)

  • #BACFFF

    #BACFFF

    oklch(85.5% 0.071 266.4)

  • #EEBCEE

    #EEBCEE

    oklch(85.5% 0.087 326.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CCD795

    #CCD795

    oklch(85.5% 0.087 116)

  • #9AD9FF

    #9AD9FF

    oklch(85.6% 0.083 235.5)

  • #FFB8D1

    #FFB8D1

    oklch(85.5% 0.088 356.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CCD795

    #CCD795

    oklch(85.5% 0.087 116)

  • #87E0EB

    #87E0EB

    oklch(85.5% 0.087 205.8)

  • #D3C5FF

    #D3C5FF

    oklch(85.4% 0.081 295.7)

  • #FFBCB5

    #FFBCB5

    oklch(85.5% 0.079 25.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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