What is hex #FFEC46 color?

 
The hex code #FFEC46 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 27% blue, resulting in rgb(255, 236, 70) and hsl(54, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 73%, 0%).
In the HSV/HSB scale, #FFEC46 features a hue of 54°, 73% saturation, and 100% brightness.

Hex #FFEC46 Color Codes & Conversions

Closest Named Color
Banana Yellow (#FFE135)
Hex Code #FFEC46
Hex8 (RGBA Hex) #FFEC46FF
RGB (CSS) rgb(255, 236, 70)
RGBA (CSS) rgba(255, 236, 70, 1)
HSL (CSS) hsl(54, 100%, 64%)
HSLA (CSS) hsla(54, 100%, 64%, 1)
HSV / HSB (54°, 73%, 100%)
CMYK Values (0%, 7%, 73%, 0%)
OKLCH (Modern CSS) oklch(93.1% 0.175 102.6)
CIE-LAB (D65) 92.44, -10.90, 77.71
CIE XYZ 72.34, 81.70, 17.75
Decimal / Binary 16772166
11111111 11101100 01000110

Closest Standards & Equivalents

Closest Web Safe
#FFFF33 [Electric Yellow]
Inverse Color
#0013B9
Complementary Color
#4659FF
Closest Pantone®
Pantone 101 C
Closest RAL
RAL 1016 [Sulfur yellow]

#FFEC46 Grayscale Equivalents

Average
#BBBBBB
Lightness (Desaturation)
#A3A3A3
Weighted (BT601)
#DFDFDF
Luma (BT709)
#E4E4E4

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFEC46.

Contrast Ratio: 1.21:1
AA Fail AAA Fail

Black Text on #FFEC46

Sample preview of readable typography on top of #FFEC46.

Contrast Ratio: 17.34:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFEC46

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

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

Hex #FFEC46 Color Palettes

Complementary Palette

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

Split-Complementary Palette

The split-complementary scheme of #FFEC46 pairs with #8F46FF and #46B5FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFEC46 uses #EC46FF and #46FFEC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFEC46 combines #46FFEC, #4659FF and #FF4659 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFEC46 pairs with #46FF8F, #4659FF and #FF46B5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFEC46

Tints

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

Tones

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

Shades

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

Hex #FFEC46 in Programming & CSS Frameworks

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

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