What is hex #FFFC04 color?

 
The hex code #FFFC04 is closest to the named color Yellow (#FFFF00).
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 2% blue, resulting in rgb(255, 252, 4) and hsl(59, 100%, 51%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 98%, 0%).
In the HSV/HSB scale, #FFFC04 features a hue of 59°, 98% saturation, and 100% brightness.

Hex #FFFC04 Color Codes & Conversions

Closest Named Color
Yellow (#FFFF00)
Hex Code #FFFC04
Hex8 (RGBA Hex) #FFFC04FF
RGB (CSS) rgb(255, 252, 4)
RGBA (CSS) rgba(255, 252, 4, 1)
HSL (CSS) hsl(59, 100%, 51%)
HSLA (CSS) hsla(59, 100%, 51%, 1)
HSV / HSB (59°, 98%, 100%)
CMYK Values (0%, 1%, 98%, 0%)
OKLCH (Modern CSS) oklch(96.2% 0.208 108.9)
CIE-LAB (D65) 96.37, -20.10, 93.63
CIE XYZ 76.08, 90.89, 13.65
Decimal / Binary 16776196
11111111 11111100 00000100

Closest Standards & Equivalents

Closest Web Safe
#FFFF00 [Yellow]
Inverse Color
#0003FB
Complementary Color
#0407FF
Closest Pantone®
Pantone 803 C
Closest RAL
RAL 1026 [Luminous yellow]

#FFFC04 Grayscale Equivalents

Average
#AAAAAA
Lightness (Desaturation)
#828282
Weighted (BT601)
#E1E1E1
Luma (BT709)
#EBEBEB

WCAG 2.1 Color Contrast & Accessibility

Check how #FFFC04 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 #FFFC04

Sample preview of readable typography on top of #FFFC04.

Contrast Ratio: 1.1:1
AA Fail AAA Fail

Black Text on #FFFC04

Sample preview of readable typography on top of #FFFC04.

Contrast Ratio: 19.18:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFFC04

Preview #FFFC04 in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FFFC04;
Typography Color Preview
color: #FFFC04;
Border & Shadow Preview
border: 2px solid #FFFC04;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFFC04;
  --color-primary-rgb: 255, 252, 4;
  --color-complementary: #0407FF;
}
.btn-accent {
  background-color: #FFFC04;
  color: #000000;
}

Hex #FFFC04 Color Palettes

Complementary Palette

The complementary color of #FFFC04 is #0407FF. 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 #FFFC04 pairs with #FF7E04 and #84FF04, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFFC04 pairs with #7E04FF and #0484FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFFC04 uses #FC04FF and #04FFFC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFFC04 combines #04FFFC, #0407FF and #FF0407 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFFC04 pairs with #04FF7E, #0407FF and #FF0484 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFFC04

Tints

Tints are created by mixing #FFFC04 with white, producing lighter variations.

Tones

Tones are created by mixing #FFFC04 with gray, softening saturation.

Shades

Shades result from mixing #FFFC04 with black, creating deeper variations.

Hex #FFFC04 in Programming & CSS Frameworks

Copy the exact syntax for #FFFC04 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FFFC04
Tailwind CSS bg-[#FFFC04] text-[#FFFC04]
Java (AWT) new Color(255,252,4);
Python Color("#FFFC04")
.NET (C#) Color.FromArgb(255, 255,252,4);
Swift / iOS UIColor(red: 1, green: 0.99, blue: 0.02, alpha: 1)
Kotlin / Android Color.rgb(255, 252, 4)