What is hex #FFCC2A 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, 80% green and 16% blue, resulting in rgb(255, 204, 42) and hsl(46, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 20%, 84%, 0%).
In the HSV/HSB scale, #FFCC2A features a hue of 46°, 84% saturation, and 100% brightness.
Hex #FFCC2A Color Codes & Conversions
| Closest Named Color | Deep Lemon (#F5C71A) |
| Hex Code | #FFCC2A |
| Hex8 (RGBA Hex) | #FFCC2AFF |
| RGB (CSS) | rgb(255, 204, 42) |
| RGBA (CSS) | rgba(255, 204, 42, 1) |
| HSL (CSS) | hsl(46, 100%, 58%) |
| HSLA (CSS) | hsla(46, 100%, 58%, 1) |
| HSV / HSB | (46°, 84%, 100%) |
| CMYK Values | (0%, 20%, 84%, 0%) |
| OKLCH (Modern CSS) | oklch(86.6% 0.168 89.2) |
| CIE-LAB (D65) | 84.29, 4.27, 78.83 |
| CIE XYZ | 63.25, 64.62, 11.33 |
| Decimal / Binary |
16763946
11111111 11001100 00101010 |
WCAG 2.1 Color Contrast & Accessibility
Check how #FFCC2A 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 #FFCC2A
Sample preview of readable typography on top of #FFCC2A.
Black Text on #FFCC2A
Sample preview of readable typography on top of #FFCC2A.
HTML / CSS Live Previews & Snippets for #FFCC2A
Preview #FFCC2A in real UI elements and copy ready-to-use CSS rules.
background-color: #FFCC2A;
color: #FFCC2A;
border: 2px solid #FFCC2A;
:root {
--color-primary: #FFCC2A;
--color-primary-rgb: 255, 204, 42;
--color-complementary: #2A5DFF;
}
.btn-accent {
background-color: #FFCC2A;
color: #000000;
}
Hex #FFCC2A Color Palettes
Complementary Palette
The complementary color of #FFCC2A is #2A5DFF. 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 #FFCC2A pairs with #FF612A and #C7FF2A, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #FFCC2A pairs with #612AFF and #2AC7FF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #FFCC2A uses #CC2AFF and #2AFFCC, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #FFCC2A combines #2AFFCC, #2A5DFF and #FF2A5D around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #FFCC2A pairs with #2AFF61, #2A5DFF and #FF2AC7 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #FFCC2A
Tints
Tints are created by mixing #FFCC2A with white, producing lighter variations.
Tones
Tones are created by mixing #FFCC2A with gray, softening saturation.
Shades
Shades result from mixing #FFCC2A with black, creating deeper variations.
Hex #FFCC2A in Programming & CSS Frameworks
Copy the exact syntax for #FFCC2A in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #FFCC2A |
| Tailwind CSS | bg-[#FFCC2A] text-[#FFCC2A] |
| Java (AWT) | new Color(255,204,42); |
| Python | Color("#FFCC2A") |
| .NET (C#) | Color.FromArgb(255, 255,204,42); |
| Swift / iOS | UIColor(red: 1, green: 0.8, blue: 0.16, alpha: 1) |
| Kotlin / Android | Color.rgb(255, 204, 42) |