#CDC398 Color Information

Hex color code: #CDC398

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

Try:
Color NameTan
HEX
#CDC398
RGB
205, 195, 152
HSL
49°, 35%, 70%
CMYK
0%, 5%, 26%, 20%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #CDC398; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

205, 195, 152

Red: 205 / Green: 195 / Blue: 152

HSL

49°, 35%, 70%

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

CMYK

0%, 5%, 26%, 20%

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

What color is #CDC398?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #CDC398 to RGB:

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

HEX to HSL

Convert #CDC398 to HSL:

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

HEX to CMYK

Convert #CDC398 to CMYK:

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

Color Meaning and Usage

#CDC398 is a gentle yellow color with RGB values of 205, 195, 152 and HSL of 49°, 35%, 70%. This orange-yellow hue evokes optimism and creativity, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #CDC398 is #98A2CD, creating high-contrast pairings. For softer combinations, try analogous colors like #CDA998.

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

Contrast with #CDC398

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #CDC398?

#CDC398 is a gentle yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #CDC398?

#CDC398 in RGB is (205, 195, 152) - 205 red, 195 green, and 152 blue.

How to use #CDC398 in CSS?

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

What colors go well with #CDC398?

#98A2CD (complementary), #CDA998 (analogous), and #B4A664 (lighter shade) work well with #CDC398.