What is hex #FFFC66 color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 100% red, 99% green and 40% blue, resulting in rgb(255, 252, 102) and hsl(59, 100%, 70%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 60%, 0%).
In the HSV/HSB scale, #FFFC66 features a hue of 59°, 60% saturation, and 100% brightness.
Hex #FFFC66 Color Codes & Conversions
| Closest Named Color | Corn (#FBEC5D) |
| Hex Code | #FFFC66 |
| Hex8 (RGBA Hex) | #FFFC66FF |
| RGB (CSS) | rgb(255, 252, 102) |
| RGBA (CSS) | rgba(255, 252, 102, 1) |
| HSL (CSS) | hsl(59, 100%, 70%) |
| HSLA (CSS) | hsla(59, 100%, 70%, 1) |
| HSV / HSB | (59°, 60%, 100%) |
| CMYK Values | (0%, 1%, 60%, 0%) |
| OKLCH (Modern CSS) | oklch(96.6% 0.168 108.1) |
| CIE-LAB (D65) | 96.76, -17.00, 70.07 |
| CIE XYZ | 78.45, 91.84, 26.16 |
| Decimal / Binary |
16776294
11111111 11111100 01100110 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFFC66 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 #FFFC66
Sample preview of readable typography on top of #FFFC66.
Black Text on #FFFC66
Sample preview of readable typography on top of #FFFC66.
HTML / CSS Live Previews & Snippets for #FFFC66
Preview #FFFC66 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFFC66;
color: #FFFC66;
border: 2px solid #FFFC66;
:root {
--color-primary: #FFFC66;
--color-primary-rgb: 255, 252, 102;
--color-complementary: #6669FF;
}
.btn-accent {
background-color: #FFFC66;
color: #000000;
}
Hex #FFFC66 Color Palettes
Complementary Palette
The complementary color of #FFFC66 is #6669FF. 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 #FFFC66 pairs with #FFAF66 and #B5FF66, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFFC66 pairs with #AF66FF and #66B5FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFFC66 uses #FC66FF and #66FFFC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFFC66 combines #66FFFC, #6669FF and #FF6669 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFFC66 pairs with #66FFAF, #6669FF and #FF66B5 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFFC66
Tints
Tints are created by mixing #FFFC66 with white, producing lighter variations.
Tones
Tones are created by mixing #FFFC66 with gray, softening saturation.
Shades
Shades result from mixing #FFFC66 with black, creating deeper variations.
Hex #FFFC66 in Programming & CSS Frameworks
Copy the exact syntax for #FFFC66 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFFC66 |
| Tailwind CSS | bg-[#FFFC66] text-[#FFFC66] |
| Java (AWT) | new Color(255,252,102); |
| Python | Color("#FFFC66") |
| .NET (C#) | Color.FromArgb(255, 255,252,102); |
| Swift / iOS | UIColor(red: 1, green: 0.99, blue: 0.4, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 252, 102) |