HEX Color Conversion

Hex Color Code #CCB65C — RGB & HSL Conversions

How to use the #CCB65C color code in HTML & CSS?

To apply the hex color #CCB65C in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #CCB65C; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #CCB65C; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#CCB65C].

What are the RGB and HSL conversion values for #CCB65C?

In the digital sRGB color space, the hex value #CCB65C is converted to RGB values of Red: 204, Green: 182, and Blue: 92. When analyzed under the HSL model, its coordinates correspond to hue angle 48°, 52% saturation, and 58% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.

CMYK print code settings for #CCB65C

When converting #CCB65C for CMYK printing, the color separation consists of 0% Cyan, 11% Magenta, 55% Yellow, and 20% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 204
Green Channel 182
Blue Channel 92
Luminance 0.471

HEX #CCB65C Color Space Conversions

Click to copy format
HEX Color Code #CCB65C
RGB (Red Green Blue) rgb(204, 182, 92)
HSL (Hue Sat Light) hsl(48°, 52%, 58%)
CMYK (Commercial Print) cmyk(0%, 11%, 55%, 20%)
HSV / HSB Values hsv(48°, 55%, 80%)
Decimal Color Code 13416028
CSS Custom Variable --color-hex: #CCB65C;
Tailwind CSS Utility bg-[#CCB65C]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #CCB65C

Small body copy preview

Black Text on Background

Black text readability test with #CCB65C

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #CCB65C */
--color-hex: #CCB65C;
--color-rgb: rgb(204, 182, 92);
--color-hsl: hsl(48deg, 52%, 58%);

Adjacent HEX Color Codes

Copied!