What is hex #CCFF40 color?

 
The hex code #CCFF40 is closest to the named color Green Yellow (#ADFF2F).
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 80% red, 100% green and 25% blue, resulting in rgb(204, 255, 64) and hsl(76, 100%, 63%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 0%, 75%, 0%).
In the HSV/HSB scale, #CCFF40 features a hue of 76°, 75% saturation, and 100% brightness.

Hex #CCFF40 Color Codes & Conversions

Closest Named Color
Green Yellow (#ADFF2F)
Hex Code #CCFF40
Hex8 (RGBA Hex) #CCFF40FF
RGB (CSS) rgb(204, 255, 64)
RGBA (CSS) rgba(204, 255, 64, 1)
HSL (CSS) hsl(76, 100%, 63%)
HSLA (CSS) hsla(76, 100%, 63%, 1)
HSV / HSB (76°, 75%, 100%)
CMYK Values (20%, 0%, 75%, 0%)
OKLCH (Modern CSS) oklch(93.3% 0.212 123.9)
CIE-LAB (D65) 93.77, -40.46, 79.57
CIE XYZ 61.59, 84.73, 17.96
Decimal / Binary 13434688
11001100 11111111 01000000

Closest Standards & Equivalents

Closest Web Safe
#CCFF33
Inverse Color
#3300BF
Complementary Color
#7340FF
Closest Pantone®
Pantone 380 C
Closest RAL
RAL 1016 [Sulfur yellow]

#CCFF40 Grayscale Equivalents

Average
#AEAEAE
Lightness (Desaturation)
#A0A0A0
Weighted (BT601)
#DADADA
Luma (BT709)
#E6E6E6

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CCFF40.

Contrast Ratio: 1.17:1
AA Fail AAA Fail

Black Text on #CCFF40

Sample preview of readable typography on top of #CCFF40.

Contrast Ratio: 17.95:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CCFF40

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

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

Hex #CCFF40 Color Palettes

Complementary Palette

The complementary color of #CCFF40 is #7340FF. 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 #CCFF40 pairs with #FFD240 and #6CFF40, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CCFF40 pairs with #D240FF and #406CFF, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CCFF40 uses #FF40CC and #40CCFF, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CCFF40 combines #40CCFF, #7340FF and #FF7340 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CCFF40 pairs with #40FFD2, #7340FF and #FF406C spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CCFF40

Tints

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

Tones

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

Shades

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

Hex #CCFF40 in Programming & CSS Frameworks

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

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