#CCC796 Color Information

Hex color code: #CCC796

A pastel yellow shade, #CCC796 appears as (204, 199, 150) in RGB and (54°, 35%, 69%) in HSL. It is commonly used in modern UI design.

Try:
Color NameTan
HEX
#CCC796
RGB
204, 199, 150
HSL
54°, 35%, 69%
CMYK
0%, 2%, 26%, 20%

Shades

CSS Usage
color: #CCC796;
background-color: #CCC796;
border-color: #CCC796;
box-shadow: 0 0 10px #CCC796;
border: 2px solid #CCC796;
Tailwind Usage
bg-[#CCC796]
text-[#CCC796]
border-[#CCC796]
shadow-[0_0_10px_CCC796]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #CCC796, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #CCC796; color: #000000; }

Badge

New Feature
.badge { background-color: #CCC796; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #CCC796; background-color: #CCC79615; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #CCC79620; border-left: 4px solid #CCC796; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #CCC796; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #CCC796 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 199, 150

Red: 204 / Green: 199 / Blue: 150

HSL

54°, 35%, 69%

Hue: 54° / Saturation: 35% / Lightness: 69%

CMYK

0%, 2%, 26%, 20%

Cyan: 0% / Magenta: 2% / Yellow: 26% / Key: 20%

What color is #CCC796?

#CCC796 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCC796 to RGB:

rgb(204, 199, 150)HEX to RGB Converter →

HEX to HSL

Convert #CCC796 to HSL:

hsl(54, 35%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #CCC796 to CMYK:

cmyk(0%, 2%, 26%, 20%)Color Converter →

Color Meaning and Usage

#CCC796 is a pastel yellow color with RGB values of 204, 199, 150 and HSL of 54°, 35%, 69%. This orange-yellow hue evokes optimism and creativity, making it suitable for typically applied in digital products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCC796 is #949ACC, creating high-contrast pairings. For softer combinations, try analogous colors like #CCAA94.

Use #CCC796 in CSS: color: #CCC796 or background-color: #CCC796. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #CCC796

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 12.18:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCC796?

#CCC796 is a pastel yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #CCC796?

#CCC796 in RGB is (204, 199, 150) - 204 red, 199 green, and 150 blue.

How to use #CCC796 in CSS?

Use #CCC796 directly in your CSS properties like color or background-color.

What colors go well with #CCC796?

#949ACC (complementary), #CCAA94 (analogous), and #B3AB61 (lighter shade) work well with #CCC796.