What is hex #FFCC2E color?

 
The hex code #FFCC2E is closest to the named color Deep Lemon (#F5C71A).
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 18% blue, resulting in rgb(255, 204, 46) and hsl(45, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 20%, 82%, 0%).
In the HSV/HSB scale, #FFCC2E features a hue of 45°, 82% saturation, and 100% brightness.

Hex #FFCC2E Color Codes & Conversions

Closest Named Color
Deep Lemon (#F5C71A)
Hex Code #FFCC2E
Hex8 (RGBA Hex) #FFCC2EFF
RGB (CSS) rgb(255, 204, 46)
RGBA (CSS) rgba(255, 204, 46, 1)
HSL (CSS) hsl(45, 100%, 59%)
HSLA (CSS) hsla(45, 100%, 59%, 1)
HSV / HSB (45°, 82%, 100%)
CMYK Values (0%, 20%, 82%, 0%)
OKLCH (Modern CSS) oklch(86.6% 0.167 89.0)
CIE-LAB (D65) 84.30, 4.38, 77.78
CIE XYZ 63.33, 64.65, 11.73
Decimal / Binary 16763950
11111111 11001100 00101110

Closest Standards & Equivalents

Closest Web Safe
#FFCC33
Inverse Color
#0033D1
Complementary Color
#2E61FF
Closest Pantone®
Pantone 123 C
Closest RAL
RAL 1018 [Zinc yellow]

#FFCC2E Grayscale Equivalents

Average
#A8A8A8
Lightness (Desaturation)
#979797
Weighted (BT601)
#C9C9C9
Luma (BT709)
#CBCBCB

WCAG 2.1 Color Contrast & Accessibility

Check how #FFCC2E 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 #FFCC2E

Sample preview of readable typography on top of #FFCC2E.

Contrast Ratio: 1.51:1
AA Fail AAA Fail

Black Text on #FFCC2E

Sample preview of readable typography on top of #FFCC2E.

Contrast Ratio: 13.93:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFCC2E

Preview #FFCC2E in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #FFCC2E;
Typography Color Preview
color: #FFCC2E;
Border & Shadow Preview
border: 2px solid #FFCC2E;
CSS Custom Properties & Gradient
:root {
  --color-primary: #FFCC2E;
  --color-primary-rgb: 255, 204, 46;
  --color-complementary: #2E61FF;
}
.btn-accent {
  background-color: #FFCC2E;
  color: #000000;
}

Hex #FFCC2E Color Palettes

Complementary Palette

The complementary color of #FFCC2E is #2E61FF. 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 #FFCC2E pairs with #FF632E and #C9FF2E, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #FFCC2E pairs with #632EFF and #2EC9FF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #FFCC2E uses #CC2EFF and #2EFFCC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFCC2E combines #2EFFCC, #2E61FF and #FF2E61 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFCC2E pairs with #2EFF63, #2E61FF and #FF2EC9 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFCC2E

Tints

Tints are created by mixing #FFCC2E with white, producing lighter variations.

Tones

Tones are created by mixing #FFCC2E with gray, softening saturation.

Shades

Shades result from mixing #FFCC2E with black, creating deeper variations.

Hex #FFCC2E in Programming & CSS Frameworks

Copy the exact syntax for #FFCC2E in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #FFCC2E
Tailwind CSS bg-[#FFCC2E] text-[#FFCC2E]
Java (AWT) new Color(255,204,46);
Python Color("#FFCC2E")
.NET (C#) Color.FromArgb(255, 255,204,46);
Swift / iOS UIColor(red: 1, green: 0.8, blue: 0.18, alpha: 1)
Kotlin / Android Color.rgb(255, 204, 46)