What is hex #FFFA28 color?

 
The hex code #FFFA28 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, 98% green and 16% blue, resulting in rgb(255, 250, 40) and hsl(59, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 2%, 84%, 0%).
In the HSV/HSB scale, #FFFA28 features a hue of 59°, 84% saturation, and 100% brightness.

Hex #FFFA28 Color Codes & Conversions

Closest Named Color
Daffodil (#FFFF31)
Hex Code #FFFA28
Hex8 (RGBA Hex) #FFFA28FF
RGB (CSS) rgb(255, 250, 40)
RGBA (CSS) rgba(255, 250, 40, 1)
HSL (CSS) hsl(59, 100%, 58%)
HSLA (CSS) hsla(59, 100%, 58%, 1)
HSV / HSB (59°, 84%, 100%)
CMYK Values (0%, 2%, 84%, 0%)
OKLCH (Modern CSS) oklch(95.8% 0.200 108.1)
CIE-LAB (D65) 95.91, -18.66, 88.87
CIE XYZ 75.81, 89.79, 15.34
Decimal / Binary 16775720
11111111 11111010 00101000

Closest Standards & Equivalents

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

#FFFA28 Grayscale Equivalents

Average
#B6B6B6
Lightness (Desaturation)
#949494
Weighted (BT601)
#E4E4E4
Luma (BT709)
#ECECEC

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFFA28.

Contrast Ratio: 1.11:1
AA Fail AAA Fail

Black Text on #FFFA28

Sample preview of readable typography on top of #FFFA28.

Contrast Ratio: 18.96:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFFA28

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

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

Hex #FFFA28 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFFA28 pairs with #8E28FF and #2898FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFFA28 uses #FA28FF and #28FFFA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFFA28 combines #28FFFA, #282DFF and #FF282D around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFFA28 pairs with #28FF8E, #282DFF and #FF2898 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFFA28

Tints

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

Tones

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

Shades

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

Hex #FFFA28 in Programming & CSS Frameworks

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

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