#DFDF2A Color Information

Hex color code: #DFDF2A

The hex color #DFDF2A is a bold yellow with RGB values of (223, 223, 42) and HSL of (60°, 74%, 52%). It is often used for branding and logos.

Try:
Color NameGold
HEX
#DFDF2A
RGB
223, 223, 42
HSL
60°, 74%, 52%
CMYK
0%, 0%, 81%, 13%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #DFDF2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

223, 223, 42

Red: 223 / Green: 223 / Blue: 42

HSL

60°, 74%, 52%

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

CMYK

0%, 0%, 81%, 13%

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

What color is #DFDF2A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #DFDF2A to RGB:

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

HEX to HSL

Convert #DFDF2A to HSL:

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

HEX to CMYK

Convert #DFDF2A to CMYK:

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

Color Meaning and Usage

#DFDF2A is a bold yellow color with RGB values of 223, 223, 42 and HSL of 60°, 74%, 52%. This green hue evokes nature and harmony, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #DFDF2A is #2A2ADF, creating high-contrast pairings. For softer combinations, try analogous colors like #DF852A.

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

Contrast with #DFDF2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #DFDF2A?

#DFDF2A is a bold yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #DFDF2A?

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

How to use #DFDF2A in CSS?

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

What colors go well with #DFDF2A?

#2A2ADF (complementary), #DF852A (analogous), and #A4A419 (lighter shade) work well with #DFDF2A.