#CCCC00 Color Information

Hex color code: #CCCC00

The hex color #CCCC00 is a eye-catching yellow with RGB values of (204, 204, 0) and HSL of (60°, 100%, 40%). It is widely used in graphic design.

Try:
Color NameGold
HEX
#CCCC00
RGB
204, 204, 0
HSL
60°, 100%, 40%
CMYK
0%, 0%, 100%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CCCC00; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 204, 0

Red: 204 / Green: 204 / Blue: 0

HSL

60°, 100%, 40%

Hue: 60° / Saturation: 100% / Lightness: 40%

CMYK

0%, 0%, 100%, 20%

Cyan: 0% / Magenta: 0% / Yellow: 100% / Key: 20%

What color is #CCCC00?

#CCCC00 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCCC00 to RGB:

rgb(204, 204, 0)HEX to RGB Converter →

HEX to HSL

Convert #CCCC00 to HSL:

hsl(60, 100%, 40%)RGB to HSL Converter →

HEX to CMYK

Convert #CCCC00 to CMYK:

cmyk(0%, 0%, 100%, 20%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #CCCC00 has RGB (204, 204, 0) and HSL (60°, 100%, 40%). Known for evoking energy and excitement, this highly saturated hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCCC00 is #0000CC, creating high-contrast pairings. For softer combinations, try analogous colors like #CC6600.

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

Contrast with #CCCC00

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCCC00?

#CCCC00 is a striking yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #CCCC00?

#CCCC00 in RGB is (204, 204, 0) - 204 red, 204 green, and 0 blue.

How to use #CCCC00 in CSS?

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

What colors go well with #CCCC00?

#0000CC (complementary), #CC6600 (analogous), and #808000 (lighter shade) work well with #CCCC00.