#D7D788 Color Information

Hex color code: #D7D788

A understated yellow shade, #D7D788 appears as (215, 215, 136) in RGB and (60°, 50%, 69%) in HSL. It is widely used in graphic design.

Try:
Color NameKhaki
HEX
#D7D788
RGB
215, 215, 136
HSL
60°, 50%, 69%
CMYK
0%, 0%, 37%, 16%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D7D788; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

215, 215, 136

Red: 215 / Green: 215 / Blue: 136

HSL

60°, 50%, 69%

Hue: 60° / Saturation: 50% / Lightness: 69%

CMYK

0%, 0%, 37%, 16%

Cyan: 0% / Magenta: 0% / Yellow: 37% / Key: 16%

What color is #D7D788?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D7D788 to RGB:

rgb(215, 215, 136)HEX to RGB Converter →

HEX to HSL

Convert #D7D788 to HSL:

hsl(60, 50%, 69%)RGB to HSL Converter →

HEX to CMYK

Convert #D7D788 to CMYK:

cmyk(0%, 0%, 37%, 16%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #D7D788 has RGB (215, 215, 136) and HSL (60°, 50%, 69%). Known for evoking nature and harmony, this green hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D7D788 is #8888D7, creating high-contrast pairings. For softer combinations, try analogous colors like #D7B088.

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

Contrast with #D7D788

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D7D788?

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

What is the RGB value of #D7D788?

#D7D788 in RGB is (215, 215, 136) - 215 red, 215 green, and 136 blue.

How to use #D7D788 in CSS?

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

What colors go well with #D7D788?

#8888D7 (complementary), #D7B088 (analogous), and #C4C44F (lighter shade) work well with #D7D788.