What is hex #FFDF2C color?

 
The hex code #FFDF2C is closest to the named color Banana Yellow (#FFE135).
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, 87% green and 17% blue, resulting in rgb(255, 223, 44) and hsl(51, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 13%, 83%, 0%).
In the HSV/HSB scale, #FFDF2C features a hue of 51°, 83% saturation, and 100% brightness.

Hex #FFDF2C Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFDF2C
Hex8 (RGBA Hex) #FFDF2CFF
RGB (CSS) rgb(255, 223, 44)
RGBA (CSS) rgba(255, 223, 44, 1)
HSL (CSS) hsl(51, 100%, 59%)
HSLA (CSS) hsla(51, 100%, 59%, 1)
HSV / HSB (51°, 83%, 100%)
CMYK Values (0%, 13%, 83%, 0%)
OKLCH (Modern CSS) oklch(90.4% 0.178 98.0)
CIE-LAB (D65) 89.03, -5.32, 82.29
CIE XYZ 68.09, 74.22, 13.12
Decimal / Binary 16768812
11111111 11011111 00101100

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0020D3
Complementary Color
#2C4CFF
Closest Pantone®
Pantone 115 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFDF2C Grayscale Equivalents

Average
#AEAEAE
Lightness (Desaturation)
#969696
Weighted (BT601)
#D4D4D4
Luma (BT709)
#D9D9D9

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFDF2C.

Contrast Ratio: 1.33:1
AA Fail AAA Fail

Black Text on #FFDF2C

Sample preview of readable typography on top of #FFDF2C.

Contrast Ratio: 15.84:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFDF2C

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

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

Hex #FFDF2C Color Palettes

Complementary Palette

The complementary color of #FFDF2C is #2C4CFF. 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 #FFDF2C pairs with #FF752C and #B5FF2C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFDF2C pairs with #752CFF and #2CB5FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFDF2C uses #DF2CFF and #2CFFDF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFDF2C combines #2CFFDF, #2C4CFF and #FF2C4C around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFDF2C pairs with #2CFF75, #2C4CFF and #FF2CB5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFDF2C

Tints

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

Tones

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

Shades

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

Hex #FFDF2C in Programming & CSS Frameworks

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

HTML / CSS #FFDF2C
Tailwind CSS bg-[#FFDF2C] text-[#FFDF2C]
Java (AWT) new Color(255,223,44);
Python Color("#FFDF2C")
.NET (C#) Color.FromArgb(255, 255,223,44);
Swift / iOS UIColor(red: 1, green: 0.87, blue: 0.17, alpha: 1)
Kotlin / Android Color.rgb(255, 223, 44)