#FFDF52 Color Information

Hex color code: #FFDF52

#FFDF52 is a striking yellow color. In RGB it is (255, 223, 82), and in HSL it is (49°, 100%, 66%). It is popular in mobile app design.

Try:
Color NameKhaki
HEX
#FFDF52
RGB
255, 223, 82
HSL
49°, 100%, 66%
CMYK
0%, 13%, 68%, 0%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #FFDF52; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

255, 223, 82

Red: 255 / Green: 223 / Blue: 82

HSL

49°, 100%, 66%

Hue: 49° / Saturation: 100% / Lightness: 66%

CMYK

0%, 13%, 68%, 0%

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

What color is #FFDF52?

#FFDF52 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #FFDF52 to RGB:

rgb(255, 223, 82)HEX to RGB Converter →

HEX to HSL

Convert #FFDF52 to HSL:

hsl(49, 100%, 66%)RGB to HSL Converter →

HEX to CMYK

Convert #FFDF52 to CMYK:

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

Color Meaning and Usage

#FFDF52 is a vivid yellow color with RGB values of 255, 223, 82 and HSL of 49°, 100%, 66%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #FFDF52 is #5271FF, creating high-contrast pairings. For softer combinations, try analogous colors like #FF8952.

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

Contrast with #FFDF52

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #FFDF52?

#FFDF52 is a vivid yellow color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #FFDF52?

#FFDF52 in RGB is (255, 223, 82) - 255 red, 223 green, and 82 blue.

How to use #FFDF52 in CSS?

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

What colors go well with #FFDF52?

#5271FF (complementary), #FF8952 (analogous), and #FFD105 (lighter shade) work well with #FFDF52.