What is hex #FFEC7D 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 49% blue, resulting in rgb(255, 236, 125) and hsl(51, 100%, 75%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 51%, 0%).
In the HSV/HSB scale, #FFEC7D features a hue of 51°, 51% saturation, and 100% brightness.
Hex #FFEC7D Color Codes & Conversions
| Closest Named Color | Flavescent (#F7E98E) |
| Hex Code | #FFEC7D |
| Hex8 (RGBA Hex) | #FFEC7DFF |
| RGB (CSS) | rgb(255, 236, 125) |
| RGBA (CSS) | rgba(255, 236, 125, 1) |
| HSL (CSS) | hsl(51, 100%, 75%) |
| HSLA (CSS) | hsla(51, 100%, 75%, 1) |
| HSV / HSB | (51°, 51%, 100%) |
| CMYK Values | (0%, 7%, 51%, 0%) |
| OKLCH (Modern CSS) | oklch(93.6% 0.133 99.8) |
| CIE-LAB (D65) | 92.90, -7.47, 55.59 |
| CIE XYZ | 74.94, 82.73, 31.42 |
| Decimal / Binary |
16772221
11111111 11101100 01111101 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFEC7D 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 #FFEC7D
Sample preview of readable typography on top of #FFEC7D.
Black Text on #FFEC7D
Sample preview of readable typography on top of #FFEC7D.
HTML / CSS Live Previews & Snippets for #FFEC7D
Preview #FFEC7D in real UI elements and copy ready-to-use CSS rules.
background-color: #FFEC7D;
color: #FFEC7D;
border: 2px solid #FFEC7D;
:root {
--color-primary: #FFEC7D;
--color-primary-rgb: 255, 236, 125;
--color-complementary: #7D90FF;
}
.btn-accent {
background-color: #FFEC7D;
color: #000000;
}
Hex #FFEC7D Color Palettes
Complementary Palette
The complementary color of #FFEC7D is #7D90FF. 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 #FFEC7D pairs with #FFAB7D and #D1FF7D, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFEC7D pairs with #AB7DFF and #7DD1FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFEC7D uses #EC7DFF and #7DFFEC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFEC7D combines #7DFFEC, #7D90FF and #FF7D90 around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFEC7D pairs with #7DFFAB, #7D90FF and #FF7DD1 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFEC7D
Tints
Tints are created by mixing #FFEC7D with white, producing lighter variations.
Tones
Tones are created by mixing #FFEC7D with gray, softening saturation.
Shades
Shades result from mixing #FFEC7D with black, creating deeper variations.
Hex #FFEC7D in Programming & CSS Frameworks
Copy the exact syntax for #FFEC7D in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFEC7D |
| Tailwind CSS | bg-[#FFEC7D] text-[#FFEC7D] |
| Java (AWT) | new Color(255,236,125); |
| Python | Color("#FFEC7D") |
| .NET (C#) | Color.FromArgb(255, 255,236,125); |
| Swift / iOS | UIColor(red: 1, green: 0.93, blue: 0.49, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 236, 125) |