What is hex #F2FF2D color?

 
The hex code #F2FF2D 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 95% red, 100% green and 18% blue, resulting in rgb(242, 255, 45) and hsl(64, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (5%, 0%, 82%, 0%).
In the HSV/HSB scale, #F2FF2D features a hue of 64°, 82% saturation, and 100% brightness.

Hex #F2FF2D Color Codes & Conversions

Closest Named Color
Daffodil (#FFFF31)
Hex Code #F2FF2D
Hex8 (RGBA Hex) #F2FF2DFF
RGB (CSS) rgb(242, 255, 45)
RGBA (CSS) rgba(242, 255, 45, 1)
HSL (CSS) hsl(64, 100%, 59%)
HSLA (CSS) hsla(64, 100%, 59%, 1)
HSV / HSB (64°, 82%, 100%)
CMYK Values (5%, 0%, 82%, 0%)
OKLCH (Modern CSS) oklch(95.9% 0.206 113.5)
CIE-LAB (D65) 96.24, -26.21, 87.69
CIE XYZ 72.85, 90.59, 16.13
Decimal / Binary 15925037
11110010 11111111 00101101

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0D00D2
Complementary Color
#3A2DFF
Closest Pantone®
Pantone 394 C
Closest RAL
RAL 1016 [Sulfur yellow]

#F2FF2D Grayscale Equivalents

Average
#B5B5B5
Lightness (Desaturation)
#969696
Weighted (BT601)
#E3E3E3
Luma (BT709)
#EDEDED

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #F2FF2D.

Contrast Ratio: 1.1:1
AA Fail AAA Fail

Black Text on #F2FF2D

Sample preview of readable typography on top of #F2FF2D.

Contrast Ratio: 19.12:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #F2FF2D

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

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

Hex #F2FF2D Color Palettes

Complementary Palette

The complementary color of #F2FF2D is #3A2DFF. 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 #F2FF2D pairs with #FFA32D and #89FF2D, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #F2FF2D pairs with #A32DFF and #2D89FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #F2FF2D uses #FF2DF2 and #2DF2FF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #F2FF2D combines #2DF2FF, #3A2DFF and #FF3A2D around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #F2FF2D pairs with #2DFFA3, #3A2DFF and #FF2D89 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #F2FF2D

Tints

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

Tones

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

Shades

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

Hex #F2FF2D in Programming & CSS Frameworks

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

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