What is hex #FFDA02 color?

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

Hex #FFDA02 Color Codes & Conversions

Closest Named Color
Gold (#FFD700)
Hex Code #FFDA02
Hex8 (RGBA Hex) #FFDA02FF
RGB (CSS) rgb(255, 218, 2)
RGBA (CSS) rgba(255, 218, 2, 1)
HSL (CSS) hsl(51, 100%, 50%)
HSLA (CSS) hsla(51, 100%, 50%, 1)
HSV / HSB (51°, 99%, 100%)
CMYK Values (0%, 15%, 99%, 0%)
OKLCH (Modern CSS) oklch(89.3% 0.184 96.6)
CIE-LAB (D65) 87.68, -3.42, 87.50
CIE XYZ 66.33, 71.41, 10.35
Decimal / Binary 16767490
11111111 11011010 00000010

Closest Standards & Equivalents

Closest Web Safe
#FFCC00
Inverse Color
#0025FD
Complementary Color
#0227FF
Closest Pantone®
Pantone Medium Yellow C
Closest RAL
RAL 2007 [Luminous bright orange]

#FFDA02 Grayscale Equivalents

Average
#9E9E9E
Lightness (Desaturation)
#818181
Weighted (BT601)
#CCCCCC
Luma (BT709)
#D2D2D2

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFDA02.

Contrast Ratio: 1.37:1
AA Fail AAA Fail

Black Text on #FFDA02

Sample preview of readable typography on top of #FFDA02.

Contrast Ratio: 15.28:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFDA02

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

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

Hex #FFDA02 Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFDA02 uses #DA02FF and #02FFDA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFDA02 combines #02FFDA, #0227FF and #FF0227 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFDA02 pairs with #02FF5B, #0227FF and #FF02A5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFDA02

Tints

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

Tones

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

Shades

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

Hex #FFDA02 in Programming & CSS Frameworks

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

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