What is hex #FFCC2D color?

 
The hex code #FFCC2D 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, 45) and hsl(45, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 20%, 82%, 0%).
In the HSV/HSB scale, #FFCC2D features a hue of 45°, 82% saturation, and 100% brightness.

Hex #FFCC2D Color Codes & Conversions

Closest Named Color
Deep Lemon (#F5C71A)
Hex Code #FFCC2D
Hex8 (RGBA Hex) #FFCC2DFF
RGB (CSS) rgb(255, 204, 45)
RGBA (CSS) rgba(255, 204, 45, 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.35, 78.05
CIE XYZ 63.31, 64.64, 11.62
Decimal / Binary 16763949
11111111 11001100 00101101

Closest Standards & Equivalents

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

#FFCC2D Grayscale Equivalents

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

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #FFCC2D.

Contrast Ratio: 1.51:1
AA Fail AAA Fail

Black Text on #FFCC2D

Sample preview of readable typography on top of #FFCC2D.

Contrast Ratio: 13.93:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #FFCC2D

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

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

Hex #FFCC2D Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #FFCC2D uses #CC2DFF and #2DFFCC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #FFCC2D combines #2DFFCC, #2D60FF and #FF2D60 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #FFCC2D pairs with #2DFF63, #2D60FF and #FF2DC9 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #FFCC2D

Tints

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

Tones

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

Shades

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

Hex #FFCC2D in Programming & CSS Frameworks

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

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