What is hex #FFEF40 color?

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

Hex #FFEF40 Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFEF40
Hex8 (RGBA Hex) #FFEF40FF
RGB (CSS) rgb(255, 239, 64)
RGBA (CSS) rgba(255, 239, 64, 1)
HSL (CSS) hsl(55, 100%, 63%)
HSLA (CSS) hsla(55, 100%, 63%, 1)
HSV / HSB (55°, 75%, 100%)
CMYK Values (0%, 6%, 75%, 0%)
OKLCH (Modern CSS) oklch(93.7% 0.181 103.9)
CIE-LAB (D65) 93.17, -12.61, 80.34
CIE XYZ 73.04, 83.37, 17.09
Decimal / Binary 16772928
11111111 11101111 01000000

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0010BF
Complementary Color
#4050FF
Closest Pantone®
Pantone 101 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFEF40 Grayscale Equivalents

Average
#BABABA
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#E0E0E0
Luma (BT709)
#E6E6E6

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEF40.

Contrast Ratio: 1.19:1
AA Fail AAA Fail

Black Text on #FFEF40

Sample preview of readable typography on top of #FFEF40.

Contrast Ratio: 17.67:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEF40

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

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

Hex #FFEF40 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFEF40 pairs with #8F40FF and #40AFFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFEF40 uses #EF40FF and #40FFEF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEF40 combines #40FFEF, #4050FF and #FF4050 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEF40 pairs with #40FF8F, #4050FF and #FF40AF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEF40

Tints

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

Tones

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

Shades

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

Hex #FFEF40 in Programming & CSS Frameworks

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

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