What is hex #FFEB2F color?

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

Hex #FFEB2F Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFEB2F
Hex8 (RGBA Hex) #FFEB2FFF
RGB (CSS) rgb(255, 235, 47)
RGBA (CSS) rgba(255, 235, 47, 1)
HSL (CSS) hsl(54, 100%, 59%)
HSLA (CSS) hsla(54, 100%, 59%, 1)
HSV / HSB (54°, 82%, 100%)
CMYK Values (0%, 8%, 82%, 0%)
OKLCH (Modern CSS) oklch(92.8% 0.185 102.8)
CIE-LAB (D65) 92.08, -11.20, 84.13
CIE XYZ 71.46, 80.89, 14.54
Decimal / Binary 16771887
11111111 11101011 00101111

Closest Standards & Equivalents

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

#FFEB2F Grayscale Equivalents

Average
#B3B3B3
Lightness (Desaturation)
#979797
Weighted (BT601)
#DCDCDC [Gainsboro]
Luma (BT709)
#E2E2E2

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEB2F.

Contrast Ratio: 1.22:1
AA Fail AAA Fail

Black Text on #FFEB2F

Sample preview of readable typography on top of #FFEB2F.

Contrast Ratio: 17.18:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEB2F

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

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

Hex #FFEB2F Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFEB2F uses #EB2FFF and #2FFFEB, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEB2F combines #2FFFEB, #2F43FF and #FF2F43 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEB2F pairs with #2FFF83, #2F43FF and #FF2FAB spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEB2F

Tints

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

Tones

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

Shades

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

Hex #FFEB2F in Programming & CSS Frameworks

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

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