#CCD142 Color Information

Hex color code: #CCD142

#CCD142 is a balanced yellow color. In RGB it is (204, 209, 66), and in HSL it is (62°, 61%, 54%). It is frequently seen in web interfaces.

Try:
Color NameYellow Green
HEX
#CCD142
RGB
204, 209, 66
HSL
62°, 61%, 54%
CMYK
2%, 0%, 68%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CCD142; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

204, 209, 66

Red: 204 / Green: 209 / Blue: 66

HSL

62°, 61%, 54%

Hue: 62° / Saturation: 61% / Lightness: 54%

CMYK

2%, 0%, 68%, 18%

Cyan: 2% / Magenta: 0% / Yellow: 68% / Key: 18%

What color is #CCD142?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CCD142 to RGB:

rgb(204, 209, 66)HEX to RGB Converter →

HEX to HSL

Convert #CCD142 to HSL:

hsl(62, 61%, 54%)RGB to HSL Converter →

HEX to CMYK

Convert #CCD142 to CMYK:

cmyk(2%, 0%, 68%, 18%)Color Converter →

Color Meaning and Usage

A muted yellow tone, #CCD142 has RGB (204, 209, 66) and HSL (62°, 61%, 54%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CCD142 is #4742D1, creating high-contrast pairings. For softer combinations, try analogous colors like #D18E42.

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

Contrast with #CCD142

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CCD142?

#CCD142 is a muted yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #CCD142?

#CCD142 in RGB is (204, 209, 66) - 204 red, 209 green, and 66 blue.

How to use #CCD142 in CSS?

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

What colors go well with #CCD142?

#4742D1 (complementary), #D18E42 (analogous), and #9CA027 (lighter shade) work well with #CCD142.