#D2B628 Color Information

Hex color code: #D2B628

#D2B628 is a muted yellow color. In RGB it is (210, 182, 40), and in HSL it is (50°, 68%, 49%). It is typically applied in digital products.

Try:
Color NameGoldenrod
HEX
#D2B628
RGB
210, 182, 40
HSL
50°, 68%, 49%
CMYK
0%, 13%, 81%, 18%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D2B628; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

210, 182, 40

Red: 210 / Green: 182 / Blue: 40

HSL

50°, 68%, 49%

Hue: 50° / Saturation: 68% / Lightness: 49%

CMYK

0%, 13%, 81%, 18%

Cyan: 0% / Magenta: 13% / Yellow: 81% / Key: 18%

What color is #D2B628?

#D2B628 is a orange-yellow hue associated with optimism and creativity.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D2B628 to RGB:

rgb(210, 182, 40)HEX to RGB Converter →

HEX to HSL

Convert #D2B628 to HSL:

hsl(50, 68%, 49%)RGB to HSL Converter →

HEX to CMYK

Convert #D2B628 to CMYK:

cmyk(0%, 13%, 81%, 18%)Color Converter →

Color Meaning and Usage

A balanced yellow tone, #D2B628 has RGB (210, 182, 40) and HSL (50°, 68%, 49%). Known for evoking optimism and creativity, this orange-yellow hue is widely used in graphic design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D2B628 is #2844D2, creating high-contrast pairings. For softer combinations, try analogous colors like #D26128.

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

Contrast with #D2B628

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D2B628?

#D2B628 is a balanced yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D2B628?

#D2B628 in RGB is (210, 182, 40) - 210 red, 182 green, and 40 blue.

How to use #D2B628 in CSS?

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

What colors go well with #D2B628?

#2844D2 (complementary), #D26128 (analogous), and #927E1C (lighter shade) work well with #D2B628.