#D8D3A2 Color Information

Hex color code: #D8D3A2

A pastel yellow shade, #D8D3A2 appears as (216, 211, 162) in RGB and (54°, 41%, 74%) in HSL. It is commonly used in modern UI design.

Try:
Color NameWheat
HEX
#D8D3A2
RGB
216, 211, 162
HSL
54°, 41%, 74%
CMYK
0%, 2%, 25%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8D3A2; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 211, 162

Red: 216 / Green: 211 / Blue: 162

HSL

54°, 41%, 74%

Hue: 54° / Saturation: 41% / Lightness: 74%

CMYK

0%, 2%, 25%, 15%

Cyan: 0% / Magenta: 2% / Yellow: 25% / Key: 15%

What color is #D8D3A2?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8D3A2 to RGB:

rgb(216, 211, 162)HEX to RGB Converter →

HEX to HSL

Convert #D8D3A2 to HSL:

hsl(54, 41%, 74%)RGB to HSL Converter →

HEX to CMYK

Convert #D8D3A2 to CMYK:

cmyk(0%, 2%, 25%, 15%)Color Converter →

Color Meaning and Usage

#D8D3A2 is a soft yellow color with RGB values of 216, 211, 162 and HSL of 54°, 41%, 74%. This orange-yellow hue evokes optimism and creativity, making it suitable for a solid option for clean and minimal interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8D3A2 is #A2A7D8, creating high-contrast pairings. For softer combinations, try analogous colors like #D8B7A2.

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

Contrast with #D8D3A2

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8D3A2?

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

What is the RGB value of #D8D3A2?

#D8D3A2 in RGB is (216, 211, 162) - 216 red, 211 green, and 162 blue.

How to use #D8D3A2 in CSS?

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

What colors go well with #D8D3A2?

#A2A7D8 (complementary), #D8B7A2 (analogous), and #C1B96C (lighter shade) work well with #D8D3A2.