What is hex #FFFA06 color?

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

Hex #FFFA06 Color Codes & Conversions

Closest Named Color
Cadmium Yellow (#FFF600)
Hex Code #FFFA06
Hex8 (RGBA Hex) #FFFA06FF
RGB (CSS) rgb(255, 250, 6)
RGBA (CSS) rgba(255, 250, 6, 1)
HSL (CSS) hsl(59, 100%, 51%)
HSLA (CSS) hsla(59, 100%, 51%, 1)
HSV / HSB (59°, 98%, 100%)
CMYK Values (0%, 2%, 98%, 0%)
OKLCH (Modern CSS) oklch(95.8% 0.206 108.3)
CIE-LAB (D65) 95.85, -19.13, 93.11
CIE XYZ 75.46, 89.65, 13.50
Decimal / Binary 16775686
11111111 11111010 00000110

Closest Standards & Equivalents

Closest Web Safe
#FFFF00 [Yellow]
Inverse Color
#0005F9
Complementary Color
#060BFF
Closest Pantone®
Pantone 803 C
Closest RAL
RAL 1026 [Luminous yellow]

#FFFA06 Grayscale Equivalents

Average
#AAAAAA
Lightness (Desaturation)
#838383
Weighted (BT601)
#E0E0E0
Luma (BT709)
#E9E9E9

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFFA06.

Contrast Ratio: 1.11:1
AA Fail AAA Fail

Black Text on #FFFA06

Sample preview of readable typography on top of #FFFA06.

Contrast Ratio: 18.93:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFFA06

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

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

Hex #FFFA06 Color Palettes

Complementary Palette

The complementary color of #FFFA06 is #060BFF. 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 #FFFA06 pairs with #FF7D06 and #87FF06, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFFA06 uses #FA06FF and #06FFFA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFFA06 combines #06FFFA, #060BFF and #FF060B around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFFA06 pairs with #06FF7D, #060BFF and #FF0687 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFFA06

Tints

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

Tones

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

Shades

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

Hex #FFFA06 in Programming & CSS Frameworks

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

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