What is hex #FFFC02 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, 99% green and 1% blue, resulting in rgb(255, 252, 2) and hsl(59, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 99%, 0%).
In the HSV/HSB scale, #FFFC02 features a hue of 59°, 99% saturation, and 100% brightness.
Hex #FFFC02 Color Codes & Conversions
| Closest Named Color | Yellow (#FFFF00) |
| Hex Code | #FFFC02 |
| Hex8 (RGBA Hex) | #FFFC02FF |
| RGB (CSS) | rgb(255, 252, 2) |
| RGBA (CSS) | rgba(255, 252, 2, 1) |
| HSL (CSS) | hsl(59, 100%, 50%) |
| HSLA (CSS) | hsla(59, 100%, 50%, 1) |
| HSV / HSB | (59°, 99%, 100%) |
| CMYK Values | (0%, 1%, 99%, 0%) |
| OKLCH (Modern CSS) | oklch(96.2% 0.208 108.9) |
| CIE-LAB (D65) | 96.36, -20.11, 93.77 |
| CIE XYZ | 76.06, 90.89, 13.59 |
| Decimal / Binary |
16776194
11111111 11111100 00000010 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF00 [Yellow] |
| Inverse Color | #0003FD |
| Complementary Color | #0205FF |
| Closest Pantone® | Pantone 803 C |
| Closest RAL | RAL 1026 [Luminous yellow] |
#FFFC02 Grayscale Equivalents
| Average | #AAAAAA |
| Lightness (Desaturation) | #818181 |
| Weighted (BT601) | #E0E0E0 |
| Luma (BT709) | #EBEBEB |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFFC02 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 #FFFC02
Sample preview of readable typography on top of #FFFC02.
Black Text on #FFFC02
Sample preview of readable typography on top of #FFFC02.
HTML / CSS Live Previews & Snippets for #FFFC02
Preview #FFFC02 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFFC02;
color: #FFFC02;
border: 2px solid #FFFC02;
:root {
--color-primary: #FFFC02;
--color-primary-rgb: 255, 252, 2;
--color-complementary: #0205FF;
}
.btn-accent {
background-color: #FFFC02;
color: #000000;
}
Hex #FFFC02 Color Palettes
Complementary Palette
The complementary color of #FFFC02 is #0205FF. 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 #FFFC02 pairs with #FF7D02 and #83FF02, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFFC02 pairs with #7D02FF and #0283FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFFC02 uses #FC02FF and #02FFFC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFFC02 combines #02FFFC, #0205FF and #FF0204 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFFC02 pairs with #02FF7D, #0205FF and #FF0283 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFFC02
Tints
Tints are created by mixing #FFFC02 with white, producing lighter variations.
Tones
Tones are created by mixing #FFFC02 with gray, softening saturation.
Shades
Shades result from mixing #FFFC02 with black, creating deeper variations.
Hex #FFFC02 in Programming & CSS Frameworks
Copy the exact syntax for #FFFC02 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFFC02 |
| Tailwind CSS | bg-[#FFFC02] text-[#FFFC02] |
| Java (AWT) | new Color(255,252,2); |
| Python | Color("#FFFC02") |
| .NET (C#) | Color.FromArgb(255, 255,252,2); |
| Swift / iOS | UIColor(red: 1, green: 0.99, blue: 0.01, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 252, 2) |