What is hex #CCCD00 color?

 
The hex code #CCCD00 is closest to the named color Citrine (#E4D00A).
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, 80% green and 0% blue, resulting in rgb(204, 205, 0) and hsl(60, 100%, 40%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 0%, 100%, 20%).
In the HSV/HSB scale, #CCCD00 features a hue of 60°, 100% saturation, and 80% brightness.

Hex #CCCD00 Color Codes & Conversions

Closest Named Color
Citrine (#E4D00A)
Hex Code #CCCD00
Hex8 (RGBA Hex) #CCCD00FF
RGB (CSS) rgb(204, 205, 0)
RGBA (CSS) rgba(204, 205, 0, 1)
HSL (CSS) hsl(60, 100%, 40%)
HSLA (CSS) hsla(60, 100%, 40%, 1)
HSV / HSB (60°, 100%, 80%)
CMYK Values (0%, 0%, 100%, 20%)
OKLCH (Modern CSS) oklch(82.0% 0.179 110.1)
CIE-LAB (D65) 79.90, -18.71, 80.05
CIE XYZ 46.74, 56.50, 8.44
Decimal / Binary 13421824
11001100 11001101 00000000

Closest Standards & Equivalents

Closest Web Safe
#CCCC00
Inverse Color
#3332FF
Complementary Color
#0100CD
Closest Pantone®
Pantone 381 C
Closest RAL
RAL 1021 [Rape yellow]

#CCCD00 Grayscale Equivalents

Average
#888888
Lightness (Desaturation)
#676767
Weighted (BT601)
#B5B5B5
Luma (BT709)
#BEBEBE

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CCCD00.

Contrast Ratio: 1.71:1
AA Fail AAA Fail

Black Text on #CCCD00

Sample preview of readable typography on top of #CCCD00.

Contrast Ratio: 12.3:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CCCD00

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

Background Preview
background-color: #CCCD00;
Typography Color Preview
color: #CCCD00;
Border & Shadow Preview
border: 2px solid #CCCD00;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CCCD00;
  --color-primary-rgb: 204, 205, 0;
  --color-complementary: #0100CD;
}
.btn-accent {
  background-color: #CCCD00;
  color: #000000;
}

Hex #CCCD00 Color Palettes

Complementary Palette

The complementary color of #CCCD00 is #0100CD. 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 #CCCD00 pairs with #CD6700 and #65CD00, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CCCD00 pairs with #6700CD and #0065CD, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CCCD00 uses #CD00CC and #00CCCD, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CCCD00 combines #00CCCD, #0000CD and #CD0100 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CCCD00 pairs with #00CD67, #0000CD and #CD0065 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CCCD00

Tints

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

Tones

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

Shades

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

Hex #CCCD00 in Programming & CSS Frameworks

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

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