#D7DC54 Color Information

Hex color code: #D7DC54

A balanced yellow shade, #D7DC54 appears as (215, 220, 84) in RGB and (62°, 66%, 60%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameKhaki
HEX
#D7DC54
RGB
215, 220, 84
HSL
62°, 66%, 60%
CMYK
2%, 0%, 62%, 14%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7DC54; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 220, 84

Red: 215 / Green: 220 / Blue: 84

HSL

62°, 66%, 60%

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

CMYK

2%, 0%, 62%, 14%

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

What color is #D7DC54?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7DC54 to RGB:

rgb(215, 220, 84)HEX to RGB Converter →

HEX to HSL

Convert #D7DC54 to HSL:

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

HEX to CMYK

Convert #D7DC54 to CMYK:

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

Color Meaning and Usage

#D7DC54 is a subtle yellow color with RGB values of 215, 220, 84 and HSL of 62°, 66%, 60%. This green hue evokes nature and harmony, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

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

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

Contrast with #D7DC54

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7DC54?

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

What is the RGB value of #D7DC54?

#D7DC54 in RGB is (215, 220, 84) - 215 red, 220 green, and 84 blue.

How to use #D7DC54 in CSS?

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

What colors go well with #D7DC54?

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