What is hex #FFAA02 color?

 
The hex code #FFAA02 is closest to the named color Chrome Yellow (#FFA700).
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, 67% green and 1% blue, resulting in rgb(255, 170, 2) and hsl(40, 100%, 50%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 33%, 99%, 0%).
In the HSV/HSB scale, #FFAA02 features a hue of 40°, 99% saturation, and 100% brightness.

Hex #FFAA02 Color Codes & Conversions

Closest Named Color
Chrome Yellow (#FFA700)
Hex Code #FFAA02
Hex8 (RGBA Hex) #FFAA02FF
RGB (CSS) rgb(255, 170, 2)
RGBA (CSS) rgba(255, 170, 2, 1)
HSL (CSS) hsl(40, 100%, 50%)
HSLA (CSS) hsla(40, 100%, 50%, 1)
HSV / HSB (40°, 99%, 100%)
CMYK Values (0%, 33%, 99%, 0%)
OKLCH (Modern CSS) oklch(80.2% 0.170 73.2)
CIE-LAB (D65) 76.08, 21.34, 79.48
CIE XYZ 55.63, 50.02, 6.78
Decimal / Binary 16755202
11111111 10101010 00000010

Closest Standards & Equivalents

Closest Web Safe
#FF9900
Inverse Color
#0055FD
Complementary Color
#0257FF
Closest Pantone®
Pantone 137 C
Closest RAL
RAL 2007 [Luminous bright orange]

#FFAA02 Grayscale Equivalents

Average
#8E8E8E
Lightness (Desaturation)
#818181
Weighted (BT601)
#B0B0B0
Luma (BT709)
#B0B0B0

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFAA02.

Contrast Ratio: 1.91:1
AA Fail AAA Fail

Black Text on #FFAA02

Sample preview of readable typography on top of #FFAA02.

Contrast Ratio: 11:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFAA02

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

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

Hex #FFAA02 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFAA02 pairs with #2B02FF and #02D5FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFAA02 uses #AA02FF and #02FFAA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFAA02 combines #02FFAA, #0257FF and #FF0257 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFAA02 pairs with #02FF2B, #0257FF and #FF02D5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFAA02

Tints

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

Tones

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

Shades

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

Hex #FFAA02 in Programming & CSS Frameworks

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

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