#D4D98C Color Information

Hex color code: #D4D98C

#D4D98C is a neutral yellow color. In RGB it is (212, 217, 140), and in HSL it is (64°, 50%, 70%). It is commonly used in modern UI design.

Try:
Color NameKhaki
HEX
#D4D98C
RGB
212, 217, 140
HSL
64°, 50%, 70%
CMYK
2%, 0%, 35%, 15%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4D98C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 217, 140

Red: 212 / Green: 217 / Blue: 140

HSL

64°, 50%, 70%

Hue: 64° / Saturation: 50% / Lightness: 70%

CMYK

2%, 0%, 35%, 15%

Cyan: 2% / Magenta: 0% / Yellow: 35% / Key: 15%

What color is #D4D98C?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4D98C to RGB:

rgb(212, 217, 140)HEX to RGB Converter →

HEX to HSL

Convert #D4D98C to HSL:

hsl(64, 50%, 70%)RGB to HSL Converter →

HEX to CMYK

Convert #D4D98C to CMYK:

cmyk(2%, 0%, 35%, 15%)Color Converter →

Color Meaning and Usage

#D4D98C is a understated yellow color with RGB values of 212, 217, 140 and HSL of 64°, 50%, 70%. This green hue evokes nature and harmony, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4D98C is #918CD9, creating high-contrast pairings. For softer combinations, try analogous colors like #D9B88C.

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

Contrast with #D4D98C

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4D98C?

#D4D98C is a understated yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D4D98C?

#D4D98C in RGB is (212, 217, 140) - 212 red, 217 green, and 140 blue.

How to use #D4D98C in CSS?

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

What colors go well with #D4D98C?

#918CD9 (complementary), #D9B88C (analogous), and #BEC653 (lighter shade) work well with #D4D98C.