What is hex #FFEC2D color?

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

Hex #FFEC2D Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFEC2D
Hex8 (RGBA Hex) #FFEC2DFF
RGB (CSS) rgb(255, 236, 45)
RGBA (CSS) rgba(255, 236, 45, 1)
HSL (CSS) hsl(55, 100%, 59%)
HSLA (CSS) hsla(55, 100%, 59%, 1)
HSV / HSB (55°, 82%, 100%)
CMYK Values (0%, 7%, 82%, 0%)
OKLCH (Modern CSS) oklch(93.0% 0.187 103.2)
CIE-LAB (D65) 92.33, -11.75, 84.82
CIE XYZ 71.71, 81.44, 14.42
Decimal / Binary 16772141
11111111 11101100 00101101

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0013D2
Complementary Color
#2D40FF
Closest Pantone®
Pantone 107 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFEC2D Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEC2D.

Contrast Ratio: 1.21:1
AA Fail AAA Fail

Black Text on #FFEC2D

Sample preview of readable typography on top of #FFEC2D.

Contrast Ratio: 17.29:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEC2D

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

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

Hex #FFEC2D Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFEC2D uses #EC2DFF and #2DFFEC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEC2D combines #2DFFEC, #2D40FF and #FF2D40 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEC2D pairs with #2DFF83, #2D40FF and #FF2DA9 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEC2D

Tints

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

Tones

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

Shades

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

Hex #FFEC2D in Programming & CSS Frameworks

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

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