#D4D7BA Color Information

Hex color code: #D4D7BA

The hex color #D4D7BA is a soft yellow with RGB values of (212, 215, 186) and HSL of (66°, 27%, 79%). It is frequently seen in web interfaces.

Try:
Color NameSilver
HEX
#D4D7BA
RGB
212, 215, 186
HSL
66°, 27%, 79%
CMYK
1%, 0%, 13%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4D7BA; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 215, 186

Red: 212 / Green: 215 / Blue: 186

HSL

66°, 27%, 79%

Hue: 66° / Saturation: 27% / Lightness: 79%

CMYK

1%, 0%, 13%, 16%

Cyan: 1% / Magenta: 0% / Yellow: 13% / Key: 16%

What color is #D4D7BA?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4D7BA to RGB:

rgb(212, 215, 186)HEX to RGB Converter →

HEX to HSL

Convert #D4D7BA to HSL:

hsl(66, 27%, 79%)RGB to HSL Converter →

HEX to CMYK

Convert #D4D7BA to CMYK:

cmyk(1%, 0%, 13%, 16%)Color Converter →

Color Meaning and Usage

A airy yellow tone, #D4D7BA has RGB (212, 215, 186) and HSL (66°, 27%, 79%). 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 #D4D7BA is #BEBBD8, creating high-contrast pairings. For softer combinations, try analogous colors like #D8CCBB.

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

Contrast with #D4D7BA

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4D7BA?

#D4D7BA is a airy yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D4D7BA?

#D4D7BA in RGB is (212, 215, 186) - 212 red, 215 green, and 186 blue.

How to use #D4D7BA in CSS?

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

What colors go well with #D4D7BA?

#BEBBD8 (complementary), #D8CCBB (analogous), and #B7BC8A (lighter shade) work well with #D4D7BA.