#D8DF5D Color Information

Hex color code: #D8DF5D

The hex color #D8DF5D is a understated yellow with RGB values of (216, 223, 93) and HSL of (63°, 67%, 62%). It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#D8DF5D
RGB
216, 223, 93
HSL
63°, 67%, 62%
CMYK
3%, 0%, 58%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8DF5D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 223, 93

Red: 216 / Green: 223 / Blue: 93

HSL

63°, 67%, 62%

Hue: 63° / Saturation: 67% / Lightness: 62%

CMYK

3%, 0%, 58%, 13%

Cyan: 3% / Magenta: 0% / Yellow: 58% / Key: 13%

What color is #D8DF5D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8DF5D to RGB:

rgb(216, 223, 93)HEX to RGB Converter →

HEX to HSL

Convert #D8DF5D to HSL:

hsl(63, 67%, 62%)RGB to HSL Converter →

HEX to CMYK

Convert #D8DF5D to CMYK:

cmyk(3%, 0%, 58%, 13%)Color Converter →

Color Meaning and Usage

#D8DF5D is a balanced yellow color with RGB values of 216, 223, 93 and HSL of 63°, 67%, 62%. This green hue evokes nature and harmony, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8DF5D is #645DDF, creating high-contrast pairings. For softer combinations, try analogous colors like #DFA55D.

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

Contrast with #D8DF5D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8DF5D?

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

What is the RGB value of #D8DF5D?

#D8DF5D in RGB is (216, 223, 93) - 216 red, 223 green, and 93 blue.

How to use #D8DF5D in CSS?

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

What colors go well with #D8DF5D?

#645DDF (complementary), #DFA55D (analogous), and #C0C828 (lighter shade) work well with #D8DF5D.