#CCD298 Color Information

Hex color code: #CCD298

A pastel yellow shade, #CCD298 appears as (204, 210, 152) in RGB and (66°, 39%, 71%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#CCD298
RGB
204, 210, 152
HSL
66°, 39%, 71%
CMYK
3%, 0%, 28%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #CCD298; 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 #CCD298; background-color: #CCD29815; }

Alert / Toast

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

Link / Accent

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

a { color: #CCD298; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 210, 152

Red: 204 / Green: 210 / Blue: 152

HSL

66°, 39%, 71%

Hue: 66° / Saturation: 39% / Lightness: 71%

CMYK

3%, 0%, 28%, 18%

Cyan: 3% / Magenta: 0% / Yellow: 28% / Key: 18%

What color is #CCD298?

#CCD298 is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCD298 to RGB:

rgb(204, 210, 152)HEX to RGB Converter →

HEX to HSL

Convert #CCD298 to HSL:

hsl(66, 39%, 71%)RGB to HSL Converter →

HEX to CMYK

Convert #CCD298 to CMYK:

cmyk(3%, 0%, 28%, 18%)Color Converter →

Color Meaning and Usage

#CCD298 is a delicate yellow color with RGB values of 204, 210, 152 and HSL of 66°, 39%, 71%. This green hue evokes nature and harmony, making it suitable for popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCD298 is #9E98D2, creating high-contrast pairings. For softer combinations, try analogous colors like #D2BB98.

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

Contrast with #CCD298

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCD298?

#CCD298 is a delicate yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #CCD298?

#CCD298 in RGB is (204, 210, 152) - 204 red, 210 green, and 152 blue.

How to use #CCD298 in CSS?

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

What colors go well with #CCD298?

#9E98D2 (complementary), #D2BB98 (analogous), and #B2BB63 (lighter shade) work well with #CCD298.