What is hex #CDC366 color?

 
The hex code #CDC366 is closest to the named color Dark Khaki (#BDB76B).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 80% red, 76% green and 40% blue, resulting in rgb(205, 195, 102) and hsl(54, 51%, 60%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 5%, 50%, 20%).
In the HSV/HSB scale, #CDC366 features a hue of 54°, 50% saturation, and 80% brightness.

Hex #CDC366 Color Codes & Conversions

Closest Named Color
Dark Khaki (#BDB76B)
Hex Code #CDC366
Hex8 (RGBA Hex) #CDC366FF
RGB (CSS) rgb(205, 195, 102)
RGBA (CSS) rgba(205, 195, 102, 1)
HSL (CSS) hsl(54, 51%, 60%)
HSLA (CSS) hsla(54, 51%, 60%, 1)
HSV / HSB (54°, 50%, 80%)
CMYK Values (0%, 5%, 50%, 20%)
OKLCH (Modern CSS) oklch(80.6% 0.116 103.1)
CIE-LAB (D65) 77.86, -8.91, 47.55
CIE XYZ 47.09, 52.97, 20.31
Decimal / Binary 13484902
11001101 11000011 01100110

Closest Standards & Equivalents

Closest Web Safe
#CCCC66
Inverse Color
#323C99
Complementary Color
#6670CD
Closest Pantone®
Pantone 459 C
Closest RAL
RAL 1002 [Sand yellow]

#CDC366 Grayscale Equivalents

Average
#A7A7A7
Lightness (Desaturation)
#9A9A9A
Weighted (BT601)
#BBBBBB
Luma (BT709)
#BEBEBE

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CDC366.

Contrast Ratio: 1.81:1
AA Fail AAA Fail

Black Text on #CDC366

Sample preview of readable typography on top of #CDC366.

Contrast Ratio: 11.59:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CDC366

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

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

Hex #CDC366 Color Palettes

Complementary Palette

The complementary color of #CDC366 is #6670CD. 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 #CDC366 pairs with #CD8F66 and #A3CD66, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CDC366 pairs with #8F66CD and #66A3CD, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CDC366 uses #C366CD and #66CDC3, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CDC366 combines #66CDC3, #6670CD and #CD6670 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CDC366 pairs with #66CD8F, #6670CD and #CD66A3 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CDC366

Tints

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

Tones

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

Shades

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

Hex #CDC366 in Programming & CSS Frameworks

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

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