What is hex #FFDA40 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, 85% green and 25% blue, resulting in rgb(255, 218, 64) and hsl(48, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 15%, 75%, 0%).
In the HSV/HSB scale, #FFDA40 features a hue of 48°, 75% saturation, and 100% brightness.
Hex #FFDA40 Color Codes & Conversions
| Closest Named Color | Banana Yellow (#FFE135) |
| Hex Code | #FFDA40 |
| Hex8 (RGBA Hex) | #FFDA40FF |
| RGB (CSS) | rgb(255, 218, 64) |
| RGBA (CSS) | rgba(255, 218, 64, 1) |
| HSL (CSS) | hsl(48, 100%, 63%) |
| HSLA (CSS) | hsla(48, 100%, 63%, 1) |
| HSV / HSB | (48°, 75%, 100%) |
| CMYK Values | (0%, 15%, 75%, 0%) |
| OKLCH (Modern CSS) | oklch(89.5% 0.166 94.9) |
| CIE-LAB (D65) | 87.86, -2.16, 75.41 |
| CIE XYZ | 67.24, 71.78, 15.16 |
| Decimal / Binary |
16767552
11111111 11011010 01000000 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFDA40 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 #FFDA40
Sample preview of readable typography on top of #FFDA40.
Black Text on #FFDA40
Sample preview of readable typography on top of #FFDA40.
HTML / CSS Live Previews & Snippets for #FFDA40
Preview #FFDA40 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFDA40;
color: #FFDA40;
border: 2px solid #FFDA40;
:root {
--color-primary: #FFDA40;
--color-primary-rgb: 255, 218, 64;
--color-complementary: #4065FF;
}
.btn-accent {
background-color: #FFDA40;
color: #000000;
}
Hex #FFDA40 Color Palettes
Complementary Palette
The complementary color of #FFDA40 is #4065FF. 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 #FFDA40 pairs with #FF7A40 and #C4FF40, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFDA40 pairs with #7A40FF and #40C4FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFDA40 uses #DA40FF and #40FFDA, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFDA40 combines #40FFDA, #4065FF and #FF4065 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFDA40 pairs with #40FF7A, #4065FF and #FF40C4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFDA40
Tints
Tints are created by mixing #FFDA40 with white, producing lighter variations.
Tones
Tones are created by mixing #FFDA40 with gray, softening saturation.
Shades
Shades result from mixing #FFDA40 with black, creating deeper variations.
Hex #FFDA40 in Programming & CSS Frameworks
Copy the exact syntax for #FFDA40 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFDA40 |
| Tailwind CSS | bg-[#FFDA40] text-[#FFDA40] |
| Java (AWT) | new Color(255,218,64); |
| Python | Color("#FFDA40") |
| .NET (C#) | Color.FromArgb(255, 255,218,64); |
| Swift / iOS | UIColor(red: 1, green: 0.85, blue: 0.25, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 218, 64) |