What is hex #FFEC48 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 28% blue, resulting in rgb(255, 236, 72) and hsl(54, 100%, 64%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 72%, 0%).
In the HSV/HSB scale, #FFEC48 features a hue of 54°, 72% saturation, and 100% brightness.
Hex #FFEC48 Color Codes & Conversions
| Closest Named Color | Corn (#FBEC5D) |
| Hex Code | #FFEC48 |
| Hex8 (RGBA Hex) | #FFEC48FF |
| RGB (CSS) | rgb(255, 236, 72) |
| RGBA (CSS) | rgba(255, 236, 72, 1) |
| HSL (CSS) | hsl(54, 100%, 64%) |
| HSLA (CSS) | hsla(54, 100%, 64%, 1) |
| HSV / HSB | (54°, 72%, 100%) |
| CMYK Values | (0%, 7%, 72%, 0%) |
| OKLCH (Modern CSS) | oklch(93.1% 0.174 102.5) |
| CIE-LAB (D65) | 92.45, -10.81, 77.04 |
| CIE XYZ | 72.41, 81.72, 18.09 |
| Decimal / Binary |
16772168
11111111 11101100 01001000 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0013B7 |
| Complementary Color | #485BFF |
| Closest Pantone® | Pantone 101 C |
| Closest RAL | RAL 1016 [Sulfur yellow] |
#FFEC48 Grayscale Equivalents
| Average | #BCBCBC |
| Lightness (Desaturation) | #A4A4A4 |
| Weighted (BT601) | #DFDFDF |
| Luma (BT709) | #E4E4E4 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFEC48 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 #FFEC48
Sample preview of readable typography on top of #FFEC48.
Black Text on #FFEC48
Sample preview of readable typography on top of #FFEC48.
HTML / CSS Live Previews & Snippets for #FFEC48
Preview #FFEC48 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFEC48;
color: #FFEC48;
border: 2px solid #FFEC48;
:root {
--color-primary: #FFEC48;
--color-primary-rgb: 255, 236, 72;
--color-complementary: #485BFF;
}
.btn-accent {
background-color: #FFEC48;
color: #000000;
}
Hex #FFEC48 Color Palettes
Complementary Palette
The complementary color of #FFEC48 is #485BFF. 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 #FFEC48 pairs with #FF9048 and #B6FF48, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFEC48 pairs with #9048FF and #48B6FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFEC48 uses #EC48FF and #48FFEC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFEC48 combines #48FFEC, #485BFF and #FF485B around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFEC48 pairs with #48FF90, #485BFF and #FF48B6 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFEC48
Tints
Tints are created by mixing #FFEC48 with white, producing lighter variations.
Tones
Tones are created by mixing #FFEC48 with gray, softening saturation.
Shades
Shades result from mixing #FFEC48 with black, creating deeper variations.
Hex #FFEC48 in Programming & CSS Frameworks
Copy the exact syntax for #FFEC48 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFEC48 |
| Tailwind CSS | bg-[#FFEC48] text-[#FFEC48] |
| Java (AWT) | new Color(255,236,72); |
| Python | Color("#FFEC48") |
| .NET (C#) | Color.FromArgb(255, 255,236,72); |
| Swift / iOS | UIColor(red: 1, green: 0.93, blue: 0.28, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 236, 72) |