What is hex #FCFF31 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 99% red, 100% green and 19% blue, resulting in rgb(252, 255, 49) and hsl(61, 100%, 60%).
For print media and manufacturing layout, the CMYK equivalent is (1%, 0%, 81%, 0%).
In the HSV/HSB scale, #FCFF31 features a hue of 61°, 81% saturation, and 100% brightness.
Hex #FCFF31 Color Codes & Conversions
| Closest Named Color | Daffodil (#FFFF31) |
| Hex Code | #FCFF31 |
| Hex8 (RGBA Hex) | #FCFF31FF |
| RGB (CSS) | rgb(252, 255, 49) |
| RGBA (CSS) | rgba(252, 255, 49, 1) |
| HSL (CSS) | hsl(61, 100%, 60%) |
| HSLA (CSS) | hsla(61, 100%, 60%, 1) |
| HSV / HSB | (61°, 81%, 100%) |
| CMYK Values | (1%, 0%, 81%, 0%) |
| OKLCH (Modern CSS) | oklch(96.7% 0.202 110.5) |
| CIE-LAB (D65) | 97.00, -22.05, 87.73 |
| CIE XYZ | 76.46, 92.44, 16.72 |
| Decimal / Binary |
16580401
11111100 11111111 00110001 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0300CE |
| Complementary Color | #3431FF |
| Closest Pantone® | Pantone 394 C |
| Closest RAL | RAL 1026 [Luminous yellow] |
#FCFF31 Grayscale Equivalents
| Average | #B9B9B9 |
| Lightness (Desaturation) | #989898 |
| Weighted (BT601) | #E7E7E7 |
| Luma (BT709) | #EFEFEF |
WCAG 2.1 Color Contrast & Accessibility
Check how #FCFF31 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 #FCFF31
Sample preview of readable typography on top of #FCFF31.
Black Text on #FCFF31
Sample preview of readable typography on top of #FCFF31.
HTML / CSS Live Previews & Snippets for #FCFF31
Preview #FCFF31 in real UI elements and copy ready-to-use CSS rules.
background-color: #FCFF31;
color: #FCFF31;
border: 2px solid #FCFF31;
:root {
--color-primary: #FCFF31;
--color-primary-rgb: 252, 255, 49;
--color-complementary: #3431FF;
}
.btn-accent {
background-color: #FCFF31;
color: #000000;
}
Hex #FCFF31 Color Palettes
Complementary Palette
The complementary color of #FCFF31 is #3431FF. 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 #FCFF31 pairs with #FF9B31 and #95FF31, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FCFF31 pairs with #9B31FF and #3195FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FCFF31 uses #FF31FC and #31FCFF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FCFF31 combines #31FCFF, #3431FF and #FF3431 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FCFF31 pairs with #31FF9B, #3431FF and #FF3195 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FCFF31
Tints
Tints are created by mixing #FCFF31 with white, producing lighter variations.
Tones
Tones are created by mixing #FCFF31 with gray, softening saturation.
Shades
Shades result from mixing #FCFF31 with black, creating deeper variations.
Hex #FCFF31 in Programming & CSS Frameworks
Copy the exact syntax for #FCFF31 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FCFF31 |
| Tailwind CSS | bg-[#FCFF31] text-[#FCFF31] |
| Java (AWT) | new Color(252,255,49); |
| Python | Color("#FCFF31") |
| .NET (C#) | Color.FromArgb(255, 252,255,49); |
| Swift / iOS | UIColor(red: 0.99, green: 1, blue: 0.19, alpha: 1) |
| Kotlin / Android | Color.rgb(252, 255, 49) |