What is hex #FFEC30 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 19% blue, resulting in rgb(255, 236, 48) and hsl(54, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 81%, 0%).
In the HSV/HSB scale, #FFEC30 features a hue of 54°, 81% saturation, and 100% brightness.
Hex #FFEC30 Color Codes & Conversions
| Closest Named Color | Banana Yellow (#FFE135) |
| Hex Code | #FFEC30 |
| Hex8 (RGBA Hex) | #FFEC30FF |
| RGB (CSS) | rgb(255, 236, 48) |
| RGBA (CSS) | rgba(255, 236, 48, 1) |
| HSL (CSS) | hsl(54, 100%, 59%) |
| HSLA (CSS) | hsla(54, 100%, 59%, 1) |
| HSV / HSB | (54°, 81%, 100%) |
| CMYK Values | (0%, 7%, 81%, 0%) |
| OKLCH (Modern CSS) | oklch(93.0% 0.186 103.1) |
| CIE-LAB (D65) | 92.34, -11.67, 84.10 |
| CIE XYZ | 71.77, 81.47, 14.74 |
| Decimal / Binary |
16772144
11111111 11101100 00110000 |
Closest Standards & Equivalents
| Closest Web Safe | #FFFF33 [Electric Yellow] |
| Inverse Color | #0013CF |
| Complementary Color | #3043FF |
| Closest Pantone® | Pantone 107 C |
| Closest RAL | RAL 1016 [Sulfur yellow] |
#FFEC30 Grayscale Equivalents
| Average | #B4B4B4 |
| Lightness (Desaturation) | #989898 |
| Weighted (BT601) | #DCDCDC [Gainsboro] |
| Luma (BT709) | #E2E2E2 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFEC30 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 #FFEC30
Sample preview of readable typography on top of #FFEC30.
Black Text on #FFEC30
Sample preview of readable typography on top of #FFEC30.
HTML / CSS Live Previews & Snippets for #FFEC30
Preview #FFEC30 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFEC30;
color: #FFEC30;
border: 2px solid #FFEC30;
:root {
--color-primary: #FFEC30;
--color-primary-rgb: 255, 236, 48;
--color-complementary: #3043FF;
}
.btn-accent {
background-color: #FFEC30;
color: #000000;
}
Hex #FFEC30 Color Palettes
Complementary Palette
The complementary color of #FFEC30 is #3043FF. 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 #FFEC30 pairs with #FF8430 and #AAFF30, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFEC30 pairs with #8430FF and #30AAFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFEC30 uses #EC30FF and #30FFEC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFEC30 combines #30FFEC, #3043FF and #FF3043 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFEC30 pairs with #30FF84, #3043FF and #FF30AA spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFEC30
Tints
Tints are created by mixing #FFEC30 with white, producing lighter variations.
Tones
Tones are created by mixing #FFEC30 with gray, softening saturation.
Shades
Shades result from mixing #FFEC30 with black, creating deeper variations.
Hex #FFEC30 in Programming & CSS Frameworks
Copy the exact syntax for #FFEC30 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFEC30 |
| Tailwind CSS | bg-[#FFEC30] text-[#FFEC30] |
| Java (AWT) | new Color(255,236,48); |
| Python | Color("#FFEC30") |
| .NET (C#) | Color.FromArgb(255, 255,236,48); |
| Swift / iOS | UIColor(red: 1, green: 0.93, blue: 0.19, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 236, 48) |