#DFDC2A Color Information

Hex color code: #DFDC2A

The hex color #DFDC2A is a vivid yellow with RGB values of (223, 220, 42) and HSL of (59°, 74%, 52%). It is commonly used in modern UI design.

Try:
Color NameGold
HEX
#DFDC2A
RGB
223, 220, 42
HSL
59°, 74%, 52%
CMYK
0%, 1%, 81%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DFDC2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 220, 42

Red: 223 / Green: 220 / Blue: 42

HSL

59°, 74%, 52%

Hue: 59° / Saturation: 74% / Lightness: 52%

CMYK

0%, 1%, 81%, 13%

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

What color is #DFDC2A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DFDC2A to RGB:

rgb(223, 220, 42)HEX to RGB Converter →

HEX to HSL

Convert #DFDC2A to HSL:

hsl(59, 74%, 52%)RGB to HSL Converter →

HEX to CMYK

Convert #DFDC2A to CMYK:

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

Color Meaning and Usage

#DFDC2A is a bold yellow color with RGB values of 223, 220, 42 and HSL of 59°, 74%, 52%. This orange-yellow hue evokes optimism and creativity, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DFDC2A is #2A2DDF, creating high-contrast pairings. For softer combinations, try analogous colors like #DF822A.

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

Contrast with #DFDC2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DFDC2A?

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

What is the RGB value of #DFDC2A?

#DFDC2A in RGB is (223, 220, 42) - 223 red, 220 green, and 42 blue.

How to use #DFDC2A in CSS?

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

What colors go well with #DFDC2A?

#2A2DDF (complementary), #DF822A (analogous), and #A4A219 (lighter shade) work well with #DFDC2A.