What is hex #FFE502 color?

 
The hex code #FFE502 is closest to the named color Aureolin (#FDEE00).
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, 90% green and 1% blue, resulting in rgb(255, 229, 2) and hsl(54, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 10%, 99%, 0%).
In the HSV/HSB scale, #FFE502 features a hue of 54°, 99% saturation, and 100% brightness.

Hex #FFE502 Color Codes & Conversions

Closest Named Color
Aureolin (#FDEE00)
Hex Code #FFE502
Hex8 (RGBA Hex) #FFE502FF
RGB (CSS) rgb(255, 229, 2)
RGBA (CSS) rgba(255, 229, 2, 1)
HSL (CSS) hsl(54, 100%, 50%)
HSLA (CSS) hsla(54, 100%, 50%, 1)
HSV / HSB (54°, 99%, 100%)
CMYK Values (0%, 10%, 99%, 0%)
OKLCH (Modern CSS) oklch(91.5% 0.191 101.0)
CIE-LAB (D65) 90.46, -8.92, 89.48
CIE XYZ 69.27, 77.31, 11.33
Decimal / Binary 16770306
11111111 11100101 00000010

Closest Standards & Equivalents

Closest Web Safe
#FFCC00
Inverse Color
#001AFD
Complementary Color
#021CFF
Closest Pantone®
Pantone 803 C
Closest RAL
RAL 1026 [Luminous yellow]

#FFE502 Grayscale Equivalents

Average
#A2A2A2
Lightness (Desaturation)
#818181
Weighted (BT601)
#D3D3D3 [Light Grey]
Luma (BT709)
#DADADA

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFE502.

Contrast Ratio: 1.28:1
AA Fail AAA Fail

Black Text on #FFE502

Sample preview of readable typography on top of #FFE502.

Contrast Ratio: 16.46:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFE502

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

Background Preview
background-color: #FFE502;
Typography Color Preview
color: #FFE502;
Border & Shadow Preview
border: 2px solid #FFE502;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFE502;
  --color-primary-rgb: 255, 229, 2;
  --color-complementary: #021CFF;
}
.btn-accent {
  background-color: #FFE502;
  color: #000000;
}

Hex #FFE502 Color Palettes

Complementary Palette

The complementary color of #FFE502 is #021CFF. 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 #FFE502 pairs with #FF6602 and #9AFF02, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFE502 pairs with #6602FF and #029AFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFE502 uses #E502FF and #02FFE5, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFE502 combines #02FFE5, #021CFF and #FF021C around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFE502 pairs with #02FF66, #021CFF and #FF029A spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFE502

Tints

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

Tones

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

Shades

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

Hex #FFE502 in Programming & CSS Frameworks

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

HTML / CSS #FFE502
Tailwind CSS bg-[#FFE502] text-[#FFE502]
Java (AWT) new Color(255,229,2);
Python Color("#FFE502")
.NET (C#) Color.FromArgb(255, 255,229,2);
Swift / iOS UIColor(red: 1, green: 0.9, blue: 0.01, alpha: 1)
Kotlin / Android Color.rgb(255, 229, 2)