What is hex #FFDC40 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, 86% green and 25% blue, resulting in rgb(255, 220, 64) and hsl(49, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 14%, 75%, 0%).
In the HSV/HSB scale, #FFDC40 features a hue of 49°, 75% saturation, and 100% brightness.
Hex #FFDC40 Color Codes & Conversions
| Closest Named Color | Banana Yellow (#FFE135) |
| Hex Code | #FFDC40 |
| Hex8 (RGBA Hex) | #FFDC40FF |
| RGB (CSS) | rgb(255, 220, 64) |
| RGBA (CSS) | rgba(255, 220, 64, 1) |
| HSL (CSS) | hsl(49, 100%, 63%) |
| HSLA (CSS) | hsla(49, 100%, 63%, 1) |
| HSV / HSB | (49°, 75%, 100%) |
| CMYK Values | (0%, 14%, 75%, 0%) |
| OKLCH (Modern CSS) | oklch(89.9% 0.167 95.8) |
| CIE-LAB (D65) | 88.36, -3.17, 75.88 |
| CIE XYZ | 67.76, 72.82, 15.34 |
| Decimal / Binary |
16768064
11111111 11011100 01000000 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFDC40 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 #FFDC40
Sample preview of readable typography on top of #FFDC40.
Black Text on #FFDC40
Sample preview of readable typography on top of #FFDC40.
HTML / CSS Live Previews & Snippets for #FFDC40
Preview #FFDC40 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFDC40;
color: #FFDC40;
border: 2px solid #FFDC40;
:root {
--color-primary: #FFDC40;
--color-primary-rgb: 255, 220, 64;
--color-complementary: #4063FF;
}
.btn-accent {
background-color: #FFDC40;
color: #000000;
}
Hex #FFDC40 Color Palettes
Complementary Palette
The complementary color of #FFDC40 is #4063FF. 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 #FFDC40 pairs with #FF7C40 and #C2FF40, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFDC40 pairs with #7C40FF and #40C2FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFDC40 uses #DC40FF and #40FFDC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFDC40 combines #40FFDC, #4063FF and #FF4063 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFDC40 pairs with #40FF7C, #4063FF and #FF40C2 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFDC40
Tints
Tints are created by mixing #FFDC40 with white, producing lighter variations.
Tones
Tones are created by mixing #FFDC40 with gray, softening saturation.
Shades
Shades result from mixing #FFDC40 with black, creating deeper variations.
Hex #FFDC40 in Programming & CSS Frameworks
Copy the exact syntax for #FFDC40 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFDC40 |
| Tailwind CSS | bg-[#FFDC40] text-[#FFDC40] |
| Java (AWT) | new Color(255,220,64); |
| Python | Color("#FFDC40") |
| .NET (C#) | Color.FromArgb(255, 255,220,64); |
| Swift / iOS | UIColor(red: 1, green: 0.86, blue: 0.25, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 220, 64) |