What is hex #FFDF2D color?
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.
From a technical standpoint, this color is composed of 100% red, 87% green and 18% blue, resulting in rgb(255, 223, 45) and hsl(51, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 13%, 82%, 0%).
In the HSV/HSB scale, #FFDF2D features a hue of 51°, 82% saturation, and 100% brightness.
Hex #FFDF2D Color Codes & Conversions
| Closest Named Color | Banana Yellow (#FFE135) |
| Hex Code | #FFDF2D |
| Hex8 (RGBA Hex) | #FFDF2DFF |
| RGB (CSS) | rgb(255, 223, 45) |
| RGBA (CSS) | rgba(255, 223, 45, 1) |
| HSL (CSS) | hsl(51, 100%, 59%) |
| HSLA (CSS) | hsla(51, 100%, 59%, 1) |
| HSV / HSB | (51°, 82%, 100%) |
| CMYK Values | (0%, 13%, 82%, 0%) |
| OKLCH (Modern CSS) | oklch(90.4% 0.178 97.9) |
| CIE-LAB (D65) | 89.03, -5.30, 82.05 |
| CIE XYZ | 68.11, 74.23, 13.22 |
| Decimal / Binary |
16768813
11111111 11011111 00101101 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFDF2D complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.
White Text on #FFDF2D
Sample preview of readable typography on top of #FFDF2D.
Black Text on #FFDF2D
Sample preview of readable typography on top of #FFDF2D.
HTML / CSS Live Previews & Snippets for #FFDF2D
Preview #FFDF2D in real UI elements and copy ready-to-use CSS rules.
background-color: #FFDF2D;
color: #FFDF2D;
border: 2px solid #FFDF2D;
:root {
--color-primary: #FFDF2D;
--color-primary-rgb: 255, 223, 45;
--color-complementary: #2D4DFF;
}
.btn-accent {
background-color: #FFDF2D;
color: #000000;
}
Hex #FFDF2D Color Palettes
Complementary Palette
The complementary color of #FFDF2D is #2D4DFF. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.
Analogous Palette
The analogous color scheme of #FFDF2D pairs with #FF762D and #B6FF2D, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFDF2D pairs with #762DFF and #2DB6FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFDF2D uses #DF2DFF and #2DFFDF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFDF2D combines #2DFFDF, #2D4DFF and #FF2D4D around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFDF2D pairs with #2DFF76, #2D4DFF and #FF2DB6 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFDF2D
Tints
Tints are created by mixing #FFDF2D with white, producing lighter variations.
Tones
Tones are created by mixing #FFDF2D with gray, softening saturation.
Shades
Shades result from mixing #FFDF2D with black, creating deeper variations.
Hex #FFDF2D in Programming & CSS Frameworks
Copy the exact syntax for #FFDF2D in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFDF2D |
| Tailwind CSS | bg-[#FFDF2D] text-[#FFDF2D] |
| Java (AWT) | new Color(255,223,45); |
| Python | Color("#FFDF2D") |
| .NET (C#) | Color.FromArgb(255, 255,223,45); |
| Swift / iOS | UIColor(red: 1, green: 0.87, blue: 0.18, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 223, 45) |