What is hex #FFE021 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, 88% green and 13% blue, resulting in rgb(255, 224, 33) and hsl(52, 100%, 56%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 12%, 87%, 0%).
In the HSV/HSB scale, #FFE021 features a hue of 52°, 87% saturation, and 100% brightness.
Hex #FFE021 Color Codes & Conversions
| Closest Named Color | Dandelion (#F0E130) |
| Hex Code | #FFE021 |
| Hex8 (RGBA Hex) | #FFE021FF |
| RGB (CSS) | rgb(255, 224, 33) |
| RGBA (CSS) | rgba(255, 224, 33, 1) |
| HSL (CSS) | hsl(52, 100%, 56%) |
| HSLA (CSS) | hsla(52, 100%, 56%, 1) |
| HSV / HSB | (52°, 87%, 100%) |
| CMYK Values | (0%, 12%, 87%, 0%) |
| OKLCH (Modern CSS) | oklch(90.5% 0.182 98.7) |
| CIE-LAB (D65) | 89.25, -6.07, 84.87 |
| CIE XYZ | 68.17, 74.68, 12.26 |
| Decimal / Binary |
16769057
11111111 11100000 00100001 |
Closest Standards & Equivalents
| Closest Web Safe | #FFCC33 |
| Inverse Color | #001FDE |
| Complementary Color | #2140FF |
| Closest Pantone® | Pantone 107 C |
| Closest RAL | RAL 1016 [Sulfur yellow] |
#FFE021 Grayscale Equivalents
| Average | #ABABAB |
| Lightness (Desaturation) | #909090 |
| Weighted (BT601) | #D3D3D3 [Light Grey] |
| Luma (BT709) | #D9D9D9 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFE021 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 #FFE021
Sample preview of readable typography on top of #FFE021.
Black Text on #FFE021
Sample preview of readable typography on top of #FFE021.
HTML / CSS Live Previews & Snippets for #FFE021
Preview #FFE021 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFE021;
color: #FFE021;
border: 2px solid #FFE021;
:root {
--color-primary: #FFE021;
--color-primary-rgb: 255, 224, 33;
--color-complementary: #2140FF;
}
.btn-accent {
background-color: #FFE021;
color: #000000;
}
Hex #FFE021 Color Palettes
Complementary Palette
The complementary color of #FFE021 is #2140FF. 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 #FFE021 pairs with #FF7121 and #AFFF21, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFE021 pairs with #7121FF and #21AFFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFE021 uses #E021FF and #21FFE0, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFE021 combines #21FFE0, #2140FF and #FF2140 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFE021 pairs with #21FF71, #2140FF and #FF21AF spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFE021
Tints
Tints are created by mixing #FFE021 with white, producing lighter variations.
Tones
Tones are created by mixing #FFE021 with gray, softening saturation.
Shades
Shades result from mixing #FFE021 with black, creating deeper variations.
Hex #FFE021 in Programming & CSS Frameworks
Copy the exact syntax for #FFE021 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFE021 |
| Tailwind CSS | bg-[#FFE021] text-[#FFE021] |
| Java (AWT) | new Color(255,224,33); |
| Python | Color("#FFE021") |
| .NET (C#) | Color.FromArgb(255, 255,224,33); |
| Swift / iOS | UIColor(red: 1, green: 0.88, blue: 0.13, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 224, 33) |