#D2D888 Color Information

Hex color code: #D2D888

A neutral yellow shade, #D2D888 appears as (210, 216, 136) in RGB and (65°, 51%, 69%) in HSL. It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#D2D888
RGB
210, 216, 136
HSL
65°, 51%, 69%
CMYK
3%, 0%, 37%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2D888; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 216, 136

Red: 210 / Green: 216 / Blue: 136

HSL

65°, 51%, 69%

Hue: 65° / Saturation: 51% / Lightness: 69%

CMYK

3%, 0%, 37%, 15%

Cyan: 3% / Magenta: 0% / Yellow: 37% / Key: 15%

What color is #D2D888?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2D888 to RGB:

rgb(210, 216, 136)HEX to RGB Converter →

HEX to HSL

Convert #D2D888 to HSL:

hsl(65, 51%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D2D888 to CMYK:

cmyk(3%, 0%, 37%, 15%)Color Converter →

Color Meaning and Usage

#D2D888 is a balanced yellow color with RGB values of 210, 216, 136 and HSL of 65°, 51%, 69%. 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 #D2D888 is #8E88D8, creating high-contrast pairings. For softer combinations, try analogous colors like #D8B788.

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

Contrast with #D2D888

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2D888?

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

What is the RGB value of #D2D888?

#D2D888 in RGB is (210, 216, 136) - 210 red, 216 green, and 136 blue.

How to use #D2D888 in CSS?

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

What colors go well with #D2D888?

#8E88D8 (complementary), #D8B788 (analogous), and #BCC64E (lighter shade) work well with #D2D888.