What is hex #CDCD17 color?

 
The hex code #CDCD17 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 9% blue, resulting in rgb(205, 205, 23) and hsl(60, 80%, 45%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 0%, 89%, 20%).
In the HSV/HSB scale, #CDCD17 features a hue of 60°, 89% saturation, and 80% brightness.

Hex #CDCD17 Color Codes & Conversions

Closest Named Color
Citrine (#E4D00A)
Hex Code #CDCD17
Hex8 (RGBA Hex) #CDCD17FF
RGB (CSS) rgb(205, 205, 23)
RGBA (CSS) rgba(205, 205, 23, 1)
HSL (CSS) hsl(60, 80%, 45%)
HSLA (CSS) hsla(60, 80%, 45%, 1)
HSV / HSB (60°, 89%, 80%)
CMYK Values (0%, 0%, 89%, 20%)
OKLCH (Modern CSS) oklch(82.2% 0.175 109.7)
CIE-LAB (D65) 80.01, -18.00, 77.55
CIE XYZ 47.16, 56.71, 9.27
Decimal / Binary 13487383
11001101 11001101 00010111

Closest Standards & Equivalents

Closest Web Safe
#CCCC00
Inverse Color
#3232E8
Complementary Color
#1717CD
Closest Pantone®
Pantone 611 C
Closest RAL
RAL 1012 [Lemon yellow]

#CDCD17 Grayscale Equivalents

Average
#909090
Lightness (Desaturation)
#727272
Weighted (BT601)
#B8B8B8
Luma (BT709)
#C0C0C0 [Silver]

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CDCD17.

Contrast Ratio: 1.7:1
AA Fail AAA Fail

Black Text on #CDCD17

Sample preview of readable typography on top of #CDCD17.

Contrast Ratio: 12.34:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CDCD17

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

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

Hex #CDCD17 Color Palettes

Complementary Palette

The complementary color of #CDCD17 is #1717CD. 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 #CDCD17 pairs with #CD7217 and #72CD17, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #CDCD17 uses #CD17CD and #17CDCD, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CDCD17 combines #17CDCD, #1717CD and #CD1717 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CDCD17 pairs with #17CD72, #1717CD and #CD1772 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CDCD17

Tints

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

Tones

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

Shades

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

Hex #CDCD17 in Programming & CSS Frameworks

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

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