What is hex #FFFC28 color?

 
The hex code #FFFC28 is closest to the named color Daffodil (#FFFF31).
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 16% blue, resulting in rgb(255, 252, 40) and hsl(59, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 84%, 0%).
In the HSV/HSB scale, #FFFC28 features a hue of 59°, 84% saturation, and 100% brightness.

Hex #FFFC28 Color Codes & Conversions

Closest Named Color
Daffodil (#FFFF31)
Hex Code #FFFC28
Hex8 (RGBA Hex) #FFFC28FF
RGB (CSS) rgb(255, 252, 40)
RGBA (CSS) rgba(255, 252, 40, 1)
HSL (CSS) hsl(59, 100%, 58%)
HSLA (CSS) hsla(59, 100%, 58%, 1)
HSV / HSB (59°, 84%, 100%)
CMYK Values (0%, 1%, 84%, 0%)
OKLCH (Modern CSS) oklch(96.2% 0.202 108.8)
CIE-LAB (D65) 96.43, -19.62, 89.29
CIE XYZ 76.44, 91.04, 15.55
Decimal / Binary 16776232
11111111 11111100 00101000

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0003D7
Complementary Color
#282BFF
Closest Pantone®
Pantone 107 C
Closest RAL
RAL 1026 [Luminous yellow]

#FFFC28 Grayscale Equivalents

Average
#B6B6B6
Lightness (Desaturation)
#949494
Weighted (BT601)
#E5E5E5
Luma (BT709)
#EDEDED

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFFC28.

Contrast Ratio: 1.09:1
AA Fail AAA Fail

Black Text on #FFFC28

Sample preview of readable typography on top of #FFFC28.

Contrast Ratio: 19.21:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFFC28

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

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

Hex #FFFC28 Color Palettes

Complementary Palette

The complementary color of #FFFC28 is #282BFF. 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 #FFFC28 pairs with #FF9028 and #96FF28, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFFC28 pairs with #9028FF and #2896FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFFC28 uses #FC28FF and #28FFFC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFFC28 combines #28FFFC, #282BFF and #FF282B around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFFC28 pairs with #28FF90, #282BFF and #FF2896 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFFC28

Tints

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

Tones

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

Shades

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

Hex #FFFC28 in Programming & CSS Frameworks

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

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