#D4B321 Color Information

Hex color code: #D4B321

The hex color #D4B321 is a eye-catching yellow with RGB values of (212, 179, 33) and HSL of (49°, 73%, 48%). It is popular in mobile app design.

Try:
Color NameGoldenrod
HEX
#D4B321
RGB
212, 179, 33
HSL
49°, 73%, 48%
CMYK
0%, 16%, 84%, 17%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #D4B321; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

212, 179, 33

Red: 212 / Green: 179 / Blue: 33

HSL

49°, 73%, 48%

Hue: 49° / Saturation: 73% / Lightness: 48%

CMYK

0%, 16%, 84%, 17%

Cyan: 0% / Magenta: 16% / Yellow: 84% / Key: 17%

What color is #D4B321?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #D4B321 to RGB:

rgb(212, 179, 33)HEX to RGB Converter →

HEX to HSL

Convert #D4B321 to HSL:

hsl(49, 73%, 48%)RGB to HSL Converter →

HEX to CMYK

Convert #D4B321 to CMYK:

cmyk(0%, 16%, 84%, 17%)Color Converter →

Color Meaning and Usage

A bold yellow tone, #D4B321 has RGB (212, 179, 33) and HSL (49°, 73%, 48%). Known for evoking optimism and creativity, this orange-yellow hue is a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #D4B321 is #2142D4, creating high-contrast pairings. For softer combinations, try analogous colors like #D45A21.

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

Contrast with #D4B321

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #D4B321?

#D4B321 is a bold yellow color - a orange-yellow hue that evokes optimism and creativity.

What is the RGB value of #D4B321?

#D4B321 in RGB is (212, 179, 33) - 212 red, 179 green, and 33 blue.

How to use #D4B321 in CSS?

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

What colors go well with #D4B321?

#2142D4 (complementary), #D45A21 (analogous), and #927B17 (lighter shade) work well with #D4B321.