What is hex #CCC262 color?

 
The hex code #CCC262 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 38% blue, resulting in rgb(204, 194, 98) and hsl(54, 51%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (0%, 5%, 52%, 20%).
In the HSV/HSB scale, #CCC262 features a hue of 54°, 52% saturation, and 80% brightness.

Hex #CCC262 Color Codes & Conversions

Closest Named Color
Dark Khaki (#BDB76B)
Hex Code #CCC262
Hex8 (RGBA Hex) #CCC262FF
RGB (CSS) rgb(204, 194, 98)
RGBA (CSS) rgba(204, 194, 98, 1)
HSL (CSS) hsl(54, 51%, 59%)
HSLA (CSS) hsla(54, 51%, 59%, 1)
HSV / HSB (54°, 52%, 80%)
CMYK Values (0%, 5%, 52%, 20%)
OKLCH (Modern CSS) oklch(80.3% 0.119 103.3)
CIE-LAB (D65) 77.46, -9.16, 48.98
CIE XYZ 46.40, 52.30, 19.20
Decimal / Binary 13419106
11001100 11000010 01100010

Closest Standards & Equivalents

Closest Web Safe
#CCCC66
Inverse Color
#333D9D
Complementary Color
#626CCC
Closest Pantone®
Pantone 617 C
Closest RAL
RAL 1002 [Sand yellow]

#CCC262 Grayscale Equivalents

Average
#A5A5A5
Lightness (Desaturation)
#979797
Weighted (BT601)
#BABABA
Luma (BT709)
#BDBDBD

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CCC262.

Contrast Ratio: 1.83:1
AA Fail AAA Fail

Black Text on #CCC262

Sample preview of readable typography on top of #CCC262.

Contrast Ratio: 11.46:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CCC262

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

Background Preview
background-color: #CCC262;
Typography Color Preview
color: #CCC262;
Border & Shadow Preview
border: 2px solid #CCC262;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CCC262;
  --color-primary-rgb: 204, 194, 98;
  --color-complementary: #626CCC;
}
.btn-accent {
  background-color: #CCC262;
  color: #000000;
}

Hex #CCC262 Color Palettes

Complementary Palette

The complementary color of #CCC262 is #626CCC. 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 #CCC262 pairs with #CC8D62 and #A1CC62, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #CCC262 pairs with #8D62CC and #62A1CC, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #CCC262 uses #C262CC and #62CCC2, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CCC262 combines #62CCC2, #626CCC and #CC626C around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CCC262 pairs with #62CC8D, #626CCC and #CC62A1 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CCC262

Tints

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

Tones

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

Shades

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

Hex #CCC262 in Programming & CSS Frameworks

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

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