What is hex #FFEC2C color?
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 17% blue, resulting in rgb(255, 236, 44) and hsl(55, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 83%, 0%).
In the HSV/HSB scale, #FFEC2C features a hue of 55°, 83% saturation, and 100% brightness.
Hex #FFEC2C Color Codes & Conversions
| Closest Named Color | Banana Yellow (#FFE135) |
| Hex Code | #FFEC2C |
| Hex8 (RGBA Hex) | #FFEC2CFF |
| RGB (CSS) | rgb(255, 236, 44) |
| RGBA (CSS) | rgba(255, 236, 44, 1) |
| HSL (CSS) | hsl(55, 100%, 59%) |
| HSLA (CSS) | hsla(55, 100%, 59%, 1) |
| HSV / HSB | (55°, 83%, 100%) |
| CMYK Values | (0%, 7%, 83%, 0%) |
| OKLCH (Modern CSS) | oklch(93.0% 0.187 103.2) |
| CIE-LAB (D65) | 92.33, -11.77, 85.05 |
| CIE XYZ | 71.69, 81.44, 14.32 |
| Decimal / Binary |
16772140
11111111 11101100 00101100 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0013D3 |
| Complementary Color | #2C3FFF |
| Closest Pantone® | Pantone 107 C |
| Closest RAL | RAL 1016 [Sulfur yellow] |
#FFEC2C Grayscale Equivalents
| Average | #B2B2B2 |
| Lightness (Desaturation) | #969696 |
| Weighted (BT601) | #DCDCDC [Gainsboro] |
| Luma (BT709) | #E2E2E2 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFEC2C 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 #FFEC2C
Sample preview of readable typography on top of #FFEC2C.
Black Text on #FFEC2C
Sample preview of readable typography on top of #FFEC2C.
HTML / CSS Live Previews & Snippets for #FFEC2C
Preview #FFEC2C in real UI elements and copy ready-to-use CSS rules.
background-color: #FFEC2C;
color: #FFEC2C;
border: 2px solid #FFEC2C;
:root {
--color-primary: #FFEC2C;
--color-primary-rgb: 255, 236, 44;
--color-complementary: #2C3FFF;
}
.btn-accent {
background-color: #FFEC2C;
color: #000000;
}
Hex #FFEC2C Color Palettes
Complementary Palette
The complementary color of #FFEC2C is #2C3FFF. 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 #FFEC2C pairs with #FF822C and #A8FF2C, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFEC2C pairs with #822CFF and #2CA8FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFEC2C uses #EC2CFF and #2CFFEC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFEC2C combines #2CFFEC, #2C3FFF and #FF2C3F around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFEC2C pairs with #2CFF82, #2C3FFF and #FF2CA8 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFEC2C
Tints
Tints are created by mixing #FFEC2C with white, producing lighter variations.
Tones
Tones are created by mixing #FFEC2C with gray, softening saturation.
Shades
Shades result from mixing #FFEC2C with black, creating deeper variations.
Hex #FFEC2C in Programming & CSS Frameworks
Copy the exact syntax for #FFEC2C in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFEC2C |
| Tailwind CSS | bg-[#FFEC2C] text-[#FFEC2C] |
| Java (AWT) | new Color(255,236,44); |
| Python | Color("#FFEC2C") |
| .NET (C#) | Color.FromArgb(255, 255,236,44); |
| Swift / iOS | UIColor(red: 1, green: 0.93, blue: 0.17, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 236, 44) |