What is hex #FFFF2D color?

 
The hex code #FFFF2D is closest to the named color Daffodil (#FFFF31).
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, 100% green and 18% blue, resulting in rgb(255, 255, 45) and hsl(60, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 0%, 82%, 0%).
In the HSV/HSB scale, #FFFF2D features a hue of 60°, 82% saturation, and 100% brightness.

Hex #FFFF2D Color Codes & Conversions

Closest Named Color
Daffodil (#FFFF31)
Hex Code #FFFF2D
Hex8 (RGBA Hex) #FFFF2DFF
RGB (CSS) rgb(255, 255, 45)
RGBA (CSS) rgba(255, 255, 45, 1)
HSL (CSS) hsl(60, 100%, 59%)
HSLA (CSS) hsla(60, 100%, 59%, 1)
HSV / HSB (60°, 82%, 100%)
CMYK Values (0%, 0%, 82%, 0%)
OKLCH (Modern CSS) oklch(96.9% 0.203 109.7)
CIE-LAB (D65) 97.22, -20.93, 88.90
CIE XYZ 77.48, 92.97, 16.35
Decimal / Binary 16777005
11111111 11111111 00101101

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0000D2
Complementary Color
#2D2DFF
Closest Pantone®
Pantone 107 C
Closest RAL
RAL 1026 [Luminous yellow]

#FFFF2D Grayscale Equivalents

Average
#B9B9B9
Lightness (Desaturation)
#969696
Weighted (BT601)
#E7E7E7
Luma (BT709)
#F0F0F0

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFFF2D.

Contrast Ratio: 1.07:1
AA Fail AAA Fail

Black Text on #FFFF2D

Sample preview of readable typography on top of #FFFF2D.

Contrast Ratio: 19.59:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFFF2D

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

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

Hex #FFFF2D Color Palettes

Complementary Palette

The complementary color of #FFFF2D is #2D2DFF. 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 #FFFF2D pairs with #FF962D and #96FF2D, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFFF2D pairs with #962DFF and #2D96FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFFF2D uses #FF2DFF and #2DFFFF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFFF2D combines #2DFFFF, #2D2DFF and #FF2D2D around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFFF2D pairs with #2DFF96, #2D2DFF and #FF2D96 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFFF2D

Tints

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

Tones

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

Shades

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

Hex #FFFF2D in Programming & CSS Frameworks

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

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