What is hex #FFEC74 color?
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.
From a technical standpoint, this color is composed of 100% red, 93% green and 45% blue, resulting in rgb(255, 236, 116) and hsl(52, 100%, 73%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 55%, 0%).
In the HSV/HSB scale, #FFEC74 features a hue of 52°, 55% saturation, and 100% brightness.
Hex #FFEC74 Color Codes & Conversions
| Closest Named Color | Corn (#FBEC5D) |
| Hex Code | #FFEC74 |
| Hex8 (RGBA Hex) | #FFEC74FF |
| RGB (CSS) | rgb(255, 236, 116) |
| RGBA (CSS) | rgba(255, 236, 116, 1) |
| HSL (CSS) | hsl(52, 100%, 73%) |
| HSLA (CSS) | hsla(52, 100%, 73%, 1) |
| HSV / HSB | (52°, 55%, 100%) |
| CMYK Values | (0%, 7%, 55%, 0%) |
| OKLCH (Modern CSS) | oklch(93.5% 0.142 100.4) |
| CIE-LAB (D65) | 92.80, -8.19, 59.61 |
| CIE XYZ | 74.39, 82.51, 28.53 |
| Decimal / Binary |
16772212
11111111 11101100 01110100 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFEC74 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 #FFEC74
Sample preview of readable typography on top of #FFEC74.
Black Text on #FFEC74
Sample preview of readable typography on top of #FFEC74.
HTML / CSS Live Previews & Snippets for #FFEC74
Preview #FFEC74 in real UI elements and copy ready-to-use CSS rules.
background-color: #FFEC74;
color: #FFEC74;
border: 2px solid #FFEC74;
:root {
--color-primary: #FFEC74;
--color-primary-rgb: 255, 236, 116;
--color-complementary: #7487FF;
}
.btn-accent {
background-color: #FFEC74;
color: #000000;
}
Hex #FFEC74 Color Palettes
Complementary Palette
The complementary color of #FFEC74 is #7487FF. 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 #FFEC74 pairs with #FFA674 and #CCFF74, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFEC74 pairs with #A674FF and #74CCFF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFEC74 uses #EC74FF and #74FFEC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFEC74 combines #74FFEC, #7487FF and #FF7487 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFEC74 pairs with #74FFA6, #7487FF and #FF74CC spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFEC74
Tints
Tints are created by mixing #FFEC74 with white, producing lighter variations.
Tones
Tones are created by mixing #FFEC74 with gray, softening saturation.
Shades
Shades result from mixing #FFEC74 with black, creating deeper variations.
Hex #FFEC74 in Programming & CSS Frameworks
Copy the exact syntax for #FFEC74 in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFEC74 |
| Tailwind CSS | bg-[#FFEC74] text-[#FFEC74] |
| Java (AWT) | new Color(255,236,116); |
| Python | Color("#FFEC74") |
| .NET (C#) | Color.FromArgb(255, 255,236,116); |
| Swift / iOS | UIColor(red: 1, green: 0.93, blue: 0.45, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 236, 116) |