#CDC28C Color Information

Hex color code: #CDC28C

A delicate yellow shade, #CDC28C appears as (205, 194, 140) in RGB and (50°, 39%, 68%) in HSL. It is widely used in graphic design.

Try:
Color NameTan
HEX
#CDC28C
RGB
205, 194, 140
HSL
50°, 39%, 68%
CMYK
0%, 5%, 32%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CDC28C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 194, 140

Red: 205 / Green: 194 / Blue: 140

HSL

50°, 39%, 68%

Hue: 50° / Saturation: 39% / Lightness: 68%

CMYK

0%, 5%, 32%, 20%

Cyan: 0% / Magenta: 5% / Yellow: 32% / Key: 20%

What color is #CDC28C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CDC28C to RGB:

rgb(205, 194, 140)HEX to RGB Converter →

HEX to HSL

Convert #CDC28C to HSL:

hsl(50, 39%, 68%)RGB to HSL Converter →

HEX to CMYK

Convert #CDC28C to CMYK:

cmyk(0%, 5%, 32%, 20%)Color Converter →

Color Meaning and Usage

#CDC28C is a subtle yellow color with RGB values of 205, 194, 140 and HSL of 50°, 39%, 68%. This orange-yellow hue evokes optimism and creativity, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CDC28C is #8E98CD, creating high-contrast pairings. For softer combinations, try analogous colors like #CDA38E.

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

Contrast with #CDC28C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CDC28C?

#CDC28C is a subtle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #CDC28C?

#CDC28C in RGB is (205, 194, 140) - 205 red, 194 green, and 140 blue.

How to use #CDC28C in CSS?

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

What colors go well with #CDC28C?

#8E98CD (complementary), #CDA38E (analogous), and #B6A658 (lighter shade) work well with #CDC28C.