What is hex #CDCD00 color?

 
The hex code #CDCD00 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(205, 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, #CDCD00 features a hue of 60°, 100% saturation, and 80% brightness.

Hex #CDCD00 Color Codes & Conversions

Closest Named Color
Citrine (#E4D00A)
Hex Code #CDCD00
Hex8 (RGBA Hex) #CDCD00FF
RGB (CSS) rgb(205, 205, 0)
RGBA (CSS) rgba(205, 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.1% 0.179 109.8)
CIE-LAB (D65) 79.98, -18.28, 80.15
CIE XYZ 47.01, 56.64, 8.46
Decimal / Binary 13487360
11001101 11001101 00000000

Closest Standards & Equivalents

Closest Web Safe
#CCCC00
Inverse Color
#3232FF
Complementary Color
#0000CD [Medium Blue]
Closest Pantone®
Pantone 381 C
Closest RAL
RAL 1021 [Rape yellow]

#CDCD00 Grayscale Equivalents

Average
#898989
Lightness (Desaturation)
#676767
Weighted (BT601)
#B6B6B6
Luma (BT709)
#BEBEBE

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CDCD00.

Contrast Ratio: 1.7:1
AA Fail AAA Fail

Black Text on #CDCD00

Sample preview of readable typography on top of #CDCD00.

Contrast Ratio: 12.33:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CDCD00

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

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

Hex #CDCD00 Color Palettes

Complementary Palette

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

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #CDCD00 uses #CD00CD and #00CDCD, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CDCD00 combines #00CDCD, #0000CD and #CD0000 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CDCD00 pairs with #00CD66, #0000CD and #CD0066 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CDCD00

Tints

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

Tones

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

Shades

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

Hex #CDCD00 in Programming & CSS Frameworks

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

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