#CDC998 Color Information

Hex color code: #CDC998

#CDC998 is a pastel yellow color. In RGB it is (205, 201, 152), and in HSL it is (55°, 35%, 70%). It is commonly used in modern UI design.

Try:
Color NameTan
HEX
#CDC998
RGB
205, 201, 152
HSL
55°, 35%, 70%
CMYK
0%, 2%, 26%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CDC998; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 201, 152

Red: 205 / Green: 201 / Blue: 152

HSL

55°, 35%, 70%

Hue: 55° / Saturation: 35% / Lightness: 70%

CMYK

0%, 2%, 26%, 20%

Cyan: 0% / Magenta: 2% / Yellow: 26% / Key: 20%

What color is #CDC998?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CDC998 to RGB:

rgb(205, 201, 152)HEX to RGB Converter →

HEX to HSL

Convert #CDC998 to HSL:

hsl(55, 35%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #CDC998 to CMYK:

cmyk(0%, 2%, 26%, 20%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #CDC998 has RGB (205, 201, 152) and HSL (55°, 35%, 70%). Known for evoking optimism and creativity, this orange-yellow hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CDC998 is #989CCD, creating high-contrast pairings. For softer combinations, try analogous colors like #CDAE98.

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

Contrast with #CDC998

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CDC998?

#CDC998 is a soft yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #CDC998?

#CDC998 in RGB is (205, 201, 152) - 205 red, 201 green, and 152 blue.

How to use #CDC998 in CSS?

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

What colors go well with #CDC998?

#989CCD (complementary), #CDAE98 (analogous), and #B4AE64 (lighter shade) work well with #CDC998.