#D2D39D Color Information

Hex color code: #D2D39D

The hex color #D2D39D is a pastel yellow with RGB values of (210, 211, 157) and HSL of (61°, 38%, 72%). It is frequently seen in web interfaces.

Try:
Color NameTan
HEX
#D2D39D
RGB
210, 211, 157
HSL
61°, 38%, 72%
CMYK
0%, 0%, 26%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2D39D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 211, 157

Red: 210 / Green: 211 / Blue: 157

HSL

61°, 38%, 72%

Hue: 61° / Saturation: 38% / Lightness: 72%

CMYK

0%, 0%, 26%, 17%

Cyan: 0% / Magenta: 0% / Yellow: 26% / Key: 17%

What color is #D2D39D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2D39D to RGB:

rgb(210, 211, 157)HEX to RGB Converter →

HEX to HSL

Convert #D2D39D to HSL:

hsl(61, 38%, 72%)RGB to HSL Converter →

HEX to CMYK

Convert #D2D39D to CMYK:

cmyk(0%, 0%, 26%, 17%)Color Converter →

Color Meaning and Usage

A soft yellow tone, #D2D39D has RGB (210, 211, 157) and HSL (61°, 38%, 72%). 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 #D2D39D is #9D9CD3, creating high-contrast pairings. For softer combinations, try analogous colors like #D3B99C.

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

Contrast with #D2D39D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2D39D?

#D2D39D is a soft yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #D2D39D?

#D2D39D in RGB is (210, 211, 157) - 210 red, 211 green, and 157 blue.

How to use #D2D39D in CSS?

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

What colors go well with #D2D39D?

#9D9CD3 (complementary), #D3B99C (analogous), and #BABB68 (lighter shade) work well with #D2D39D.