What is hex #FFEF2F color?

 
The hex code #FFEF2F 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, 94% green and 18% blue, resulting in rgb(255, 239, 47) and hsl(55, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 6%, 82%, 0%).
In the HSV/HSB scale, #FFEF2F features a hue of 55°, 82% saturation, and 100% brightness.

Hex #FFEF2F Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFEF2F
Hex8 (RGBA Hex) #FFEF2FFF
RGB (CSS) rgb(255, 239, 47)
RGBA (CSS) rgba(255, 239, 47, 1)
HSL (CSS) hsl(55, 100%, 59%)
HSLA (CSS) hsla(55, 100%, 59%, 1)
HSV / HSB (55°, 82%, 100%)
CMYK Values (0%, 6%, 82%, 0%)
OKLCH (Modern CSS) oklch(93.6% 0.188 104.3)
CIE-LAB (D65) 93.10, -13.17, 84.99
CIE XYZ 72.62, 83.20, 14.92
Decimal / Binary 16772911
11111111 11101111 00101111

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0010D0
Complementary Color
#2F3FFF
Closest Pantone®
Pantone 107 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFEF2F Grayscale Equivalents

Average
#B4B4B4
Lightness (Desaturation)
#979797
Weighted (BT601)
#DEDEDE
Luma (BT709)
#E5E5E5

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEF2F.

Contrast Ratio: 1.19:1
AA Fail AAA Fail

Black Text on #FFEF2F

Sample preview of readable typography on top of #FFEF2F.

Contrast Ratio: 17.64:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEF2F

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

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

Hex #FFEF2F Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFEF2F pairs with #872FFF and #2FA7FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFEF2F uses #EF2FFF and #2FFFEF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEF2F combines #2FFFEF, #2F3FFF and #FF2F3F around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEF2F pairs with #2FFF87, #2F3FFF and #FF2FA7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEF2F

Tints

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

Tones

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

Shades

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

Hex #FFEF2F in Programming & CSS Frameworks

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

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