#D8DA52 Color Information

Hex color code: #D8DA52

The hex color #D8DA52 is a balanced yellow with RGB values of (216, 218, 82) and HSL of (61°, 65%, 59%). It is often used for branding and logos.

Try:
Color NameSandy Brown
HEX
#D8DA52
RGB
216, 218, 82
HSL
61°, 65%, 59%
CMYK
1%, 0%, 62%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D8DA52; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

216, 218, 82

Red: 216 / Green: 218 / Blue: 82

HSL

61°, 65%, 59%

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

CMYK

1%, 0%, 62%, 15%

Cyan: 1% / Magenta: 0% / Yellow: 62% / Key: 15%

What color is #D8DA52?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D8DA52 to RGB:

rgb(216, 218, 82)HEX to RGB Converter →

HEX to HSL

Convert #D8DA52 to HSL:

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

HEX to CMYK

Convert #D8DA52 to CMYK:

cmyk(1%, 0%, 62%, 15%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #D8DA52 has RGB (216, 218, 82) and HSL (61°, 65%, 59%). Known for evoking nature and harmony, this green hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D8DA52 is #5552DA, creating high-contrast pairings. For softer combinations, try analogous colors like #DA9952.

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

Contrast with #D8DA52

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D8DA52?

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

What is the RGB value of #D8DA52?

#D8DA52 in RGB is (216, 218, 82) - 216 red, 218 green, and 82 blue.

How to use #D8DA52 in CSS?

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

What colors go well with #D8DA52?

#5552DA (complementary), #DA9952 (analogous), and #B7B927 (lighter shade) work well with #D8DA52.