#CCD728 Color Information

Hex color code: #CCD728

#CCD728 is a neutral yellow color. In RGB it is (204, 215, 40), and in HSL it is (64°, 69%, 50%). It is commonly used in modern UI design.

Try:
Color NameGreen Yellow
HEX
#CCD728
RGB
204, 215, 40
HSL
64°, 69%, 50%
CMYK
5%, 0%, 81%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CCD728; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 215, 40

Red: 204 / Green: 215 / Blue: 40

HSL

64°, 69%, 50%

Hue: 64° / Saturation: 69% / Lightness: 50%

CMYK

5%, 0%, 81%, 16%

Cyan: 5% / Magenta: 0% / Yellow: 81% / Key: 16%

What color is #CCD728?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCD728 to RGB:

rgb(204, 215, 40)HEX to RGB Converter →

HEX to HSL

Convert #CCD728 to HSL:

hsl(64, 69%, 50%)RGB to HSL Converter →

HEX to CMYK

Convert #CCD728 to CMYK:

cmyk(5%, 0%, 81%, 16%)Color Converter →

Color Meaning and Usage

A subtle yellow tone, #CCD728 has RGB (204, 215, 40) and HSL (64°, 69%, 50%). Known for evoking nature and harmony, this green hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCD728 is #3328D7, creating high-contrast pairings. For softer combinations, try analogous colors like #D78B28.

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

Contrast with #CCD728

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCD728?

#CCD728 is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #CCD728?

#CCD728 in RGB is (204, 215, 40) - 204 red, 215 green, and 40 blue.

How to use #CCD728 in CSS?

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

What colors go well with #CCD728?

#3328D7 (complementary), #D78B28 (analogous), and #8F971C (lighter shade) work well with #CCD728.