#D4DC5B Color Information

Hex color code: #D4DC5B

The hex color #D4DC5B is a understated yellow with RGB values of (212, 220, 91) and HSL of (64°, 65%, 61%). It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#D4DC5B
RGB
212, 220, 91
HSL
64°, 65%, 61%
CMYK
4%, 0%, 59%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4DC5B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 220, 91

Red: 212 / Green: 220 / Blue: 91

HSL

64°, 65%, 61%

Hue: 64° / Saturation: 65% / Lightness: 61%

CMYK

4%, 0%, 59%, 14%

Cyan: 4% / Magenta: 0% / Yellow: 59% / Key: 14%

What color is #D4DC5B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4DC5B to RGB:

rgb(212, 220, 91)HEX to RGB Converter →

HEX to HSL

Convert #D4DC5B to HSL:

hsl(64, 65%, 61%)RGB to HSL Converter →

HEX to CMYK

Convert #D4DC5B to CMYK:

cmyk(4%, 0%, 59%, 14%)Color Converter →

Color Meaning and Usage

#D4DC5B is a subtle yellow color with RGB values of 212, 220, 91 and HSL of 64°, 65%, 61%. This green hue evokes nature and harmony, making it suitable for commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4DC5B is #645BDC, creating high-contrast pairings. For softer combinations, try analogous colors like #DCA45B.

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

Contrast with #D4DC5B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4DC5B?

#D4DC5B is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D4DC5B?

#D4DC5B in RGB is (212, 220, 91) - 212 red, 220 green, and 91 blue.

How to use #D4DC5B in CSS?

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

What colors go well with #D4DC5B?

#645BDC (complementary), #DCA45B (analogous), and #B7C229 (lighter shade) work well with #D4DC5B.