What is hex #FFD428 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, 83% green and 16% blue, resulting in rgb(255, 212, 40) and hsl(48, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 17%, 84%, 0%).
In the HSV/HSB scale, #FFD428 features a hue of 48°, 84% saturation, and 100% brightness.
Hex #FFD428 Color Codes & Conversions
| Closest Named Color | Banana Yellow (#FFE135) |
| Hex Code | #FFD428 |
| Hex8 (RGBA Hex) | #FFD428FF |
| RGB (CSS) | rgb(255, 212, 40) |
| RGBA (CSS) | rgba(255, 212, 40, 1) |
| HSL (CSS) | hsl(48, 100%, 58%) |
| HSLA (CSS) | hsla(48, 100%, 58%, 1) |
| HSV / HSB | (48°, 84%, 100%) |
| CMYK Values | (0%, 17%, 84%, 0%) |
| OKLCH (Modern CSS) | oklch(88.2% 0.173 93.2) |
| CIE-LAB (D65) | 86.26, 0.13, 80.96 |
| CIE XYZ | 65.17, 68.50, 11.80 |
| Decimal / Binary |
16765992
11111111 11010100 00101000 |
Closest Standards & Equivalents
| Closest Web Safe | #FFCC33 |
| Inverse Color | #002BD7 |
| Complementary Color | #2853FF |
| Closest Pantone® | Pantone 115 C |
| Closest RAL | RAL 1018 [Zinc yellow] |
#FFD428 Grayscale Equivalents
| Average | #A9A9A9 [Dark Medium Gray] |
| Lightness (Desaturation) | #949494 |
| Weighted (BT601) | #CDCDCD |
| Luma (BT709) | #D1D1D1 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFD428 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 #FFD428
Sample preview of readable typography on top of #FFD428.
Black Text on #FFD428
Sample preview of readable typography on top of #FFD428.
HTML / CSS Live Previews & Snippets for #FFD428
Preview #FFD428 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFD428;
color: #FFD428;
border: 2px solid #FFD428;
:root {
--color-primary: #FFD428;
--color-primary-rgb: 255, 212, 40;
--color-complementary: #2853FF;
}
.btn-accent {
background-color: #FFD428;
color: #000000;
}
Hex #FFD428 Color Palettes
Complementary Palette
The complementary color of #FFD428 is #2853FF. 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 #FFD428 pairs with #FF6828 and #BEFF28, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFD428 pairs with #6828FF and #28BEFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFD428 uses #D428FF and #28FFD4, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFD428 combines #28FFD4, #2853FF and #FF2853 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFD428 pairs with #28FF68, #2853FF and #FF28BE spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFD428
Tints
Tints are created by mixing #FFD428 with white, producing lighter variations.
Tones
Tones are created by mixing #FFD428 with gray, softening saturation.
Shades
Shades result from mixing #FFD428 with black, creating deeper variations.
Hex #FFD428 in Programming & CSS Frameworks
Copy the exact syntax for #FFD428 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFD428 |
| Tailwind CSS | bg-[#FFD428] text-[#FFD428] |
| Java (AWT) | new Color(255,212,40); |
| Python | Color("#FFD428") |
| .NET (C#) | Color.FromArgb(255, 255,212,40); |
| Swift / iOS | UIColor(red: 1, green: 0.83, blue: 0.16, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 212, 40) |