#D8DC56 Color Information

Hex color code: #D8DC56

The hex color #D8DC56 is a neutral yellow with RGB values of (216, 220, 86) and HSL of (62°, 66%, 60%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#D8DC56
RGB
216, 220, 86
HSL
62°, 66%, 60%
CMYK
2%, 0%, 61%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8DC56; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 220, 86

Red: 216 / Green: 220 / Blue: 86

HSL

62°, 66%, 60%

Hue: 62° / Saturation: 66% / Lightness: 60%

CMYK

2%, 0%, 61%, 14%

Cyan: 2% / Magenta: 0% / Yellow: 61% / Key: 14%

What color is #D8DC56?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8DC56 to RGB:

rgb(216, 220, 86)HEX to RGB Converter →

HEX to HSL

Convert #D8DC56 to HSL:

hsl(62, 66%, 60%)RGB to HSL Converter →

HEX to CMYK

Convert #D8DC56 to CMYK:

cmyk(2%, 0%, 61%, 14%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #D8DC56 has RGB (216, 220, 86) and HSL (62°, 66%, 60%). Known for evoking nature and harmony, this green hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8DC56 is #5A56DC, creating high-contrast pairings. For softer combinations, try analogous colors like #DC9D56.

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

Contrast with #D8DC56

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8DC56?

#D8DC56 is a balanced yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D8DC56?

#D8DC56 in RGB is (216, 220, 86) - 216 red, 220 green, and 86 blue.

How to use #D8DC56 in CSS?

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

What colors go well with #D8DC56?

#5A56DC (complementary), #DC9D56 (analogous), and #B9BE27 (lighter shade) work well with #D8DC56.