What is hex #FFFD40 color?

 
The hex code #FFFD40 is closest to the named color Electric Yellow (#FFFF33).
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 25% blue, resulting in rgb(255, 253, 64) and hsl(59, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 1%, 75%, 0%).
In the HSV/HSB scale, #FFFD40 features a hue of 59°, 75% saturation, and 100% brightness.

Hex #FFFD40 Color Codes & Conversions

Closest Named Color
Electric Yellow (#FFFF33)
Hex Code #FFFD40
Hex8 (RGBA Hex) #FFFD40FF
RGB (CSS) rgb(255, 253, 64)
RGBA (CSS) rgba(255, 253, 64, 1)
HSL (CSS) hsl(59, 100%, 63%)
HSLA (CSS) hsla(59, 100%, 63%, 1)
HSV / HSB (59°, 75%, 100%)
CMYK Values (0%, 1%, 75%, 0%)
OKLCH (Modern CSS) oklch(96.6% 0.193 108.9)
CIE-LAB (D65) 96.77, -19.39, 83.64
CIE XYZ 77.29, 91.88, 18.51
Decimal / Binary 16776512
11111111 11111101 01000000

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0002BF
Complementary Color
#4042FF
Closest Pantone®
Pantone 101 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFFD40 Grayscale Equivalents

Average
#BFBFBF
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#E8E8E8
Luma (BT709)
#F0F0F0

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFFD40.

Contrast Ratio: 1.08:1
AA Fail AAA Fail

Black Text on #FFFD40

Sample preview of readable typography on top of #FFFD40.

Contrast Ratio: 19.38:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFFD40

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

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

Hex #FFFD40 Color Palettes

Complementary Palette

The complementary color of #FFFD40 is #4042FF. 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 #FFFD40 pairs with #FF9D40 and #A1FF40, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFFD40 pairs with #9D40FF and #40A1FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFFD40 uses #FD40FF and #40FFFD, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFFD40 combines #40FFFD, #4042FF and #FF4042 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFFD40 pairs with #40FF9D, #4042FF and #FF40A1 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFFD40

Tints

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

Tones

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

Shades

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

Hex #FFFD40 in Programming & CSS Frameworks

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

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