What is hex #FFEC6B 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 42% blue, resulting in rgb(255, 236, 107) and hsl(52, 100%, 71%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 7%, 58%, 0%).
In the HSV/HSB scale, #FFEC6B features a hue of 52°, 58% saturation, and 100% brightness.
Hex #FFEC6B Color Codes & Conversions
| Closest Named Color | Corn (#FBEC5D) |
| Hex Code | #FFEC6B |
| Hex8 (RGBA Hex) | #FFEC6BFF |
| RGB (CSS) | rgb(255, 236, 107) |
| RGBA (CSS) | rgba(255, 236, 107, 1) |
| HSL (CSS) | hsl(52, 100%, 71%) |
| HSLA (CSS) | hsla(52, 100%, 71%, 1) |
| HSV / HSB | (52°, 58%, 100%) |
| CMYK Values | (0%, 7%, 58%, 0%) |
| OKLCH (Modern CSS) | oklch(93.4% 0.149 101.0) |
| CIE-LAB (D65) | 92.71, -8.84, 63.51 |
| CIE XYZ | 73.89, 82.32, 25.90 |
| Decimal / Binary |
16772203
11111111 11101100 01101011 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFEC6B 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 #FFEC6B
Sample preview of readable typography on top of #FFEC6B.
Black Text on #FFEC6B
Sample preview of readable typography on top of #FFEC6B.
HTML / CSS Live Previews & Snippets for #FFEC6B
Preview #FFEC6B in real UI elements and copy ready-to-use CSS rules.
background-color: #FFEC6B;
color: #FFEC6B;
border: 2px solid #FFEC6B;
:root {
--color-primary: #FFEC6B;
--color-primary-rgb: 255, 236, 107;
--color-complementary: #6B7EFF;
}
.btn-accent {
background-color: #FFEC6B;
color: #000000;
}
Hex #FFEC6B Color Palettes
Complementary Palette
The complementary color of #FFEC6B is #6B7EFF. 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 #FFEC6B pairs with #FFA26B and #C8FF6B, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFEC6B pairs with #A26BFF and #6BC8FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFEC6B uses #EC6BFF and #6BFFEC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFEC6B combines #6BFFEC, #6B7EFF and #FF6B7E around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFEC6B pairs with #6BFFA2, #6B7EFF and #FF6BC8 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFEC6B
Tints
Tints are created by mixing #FFEC6B with white, producing lighter variations.
Tones
Tones are created by mixing #FFEC6B with gray, softening saturation.
Shades
Shades result from mixing #FFEC6B with black, creating deeper variations.
Hex #FFEC6B in Programming & CSS Frameworks
Copy the exact syntax for #FFEC6B in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFEC6B |
| Tailwind CSS | bg-[#FFEC6B] text-[#FFEC6B] |
| Java (AWT) | new Color(255,236,107); |
| Python | Color("#FFEC6B") |
| .NET (C#) | Color.FromArgb(255, 255,236,107); |
| Swift / iOS | UIColor(red: 1, green: 0.93, blue: 0.42, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 236, 107) |