HEX Color Conversion

Hex Color Code #CCA85C — RGB & HSL Conversions

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

For developers, implementing the #CCA85C color code involves declaring it in your styles. In stylesheet designs, use color: #CCA85C; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#CCA85C] or custom configure it in your theme files.

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

The RGB code for #CCA85C is computed as rgb(204, 168, 92). Web designers using HSL values will find it at a hue of 41°, saturation of 52%, and lightness index of 58%, representing a balanced, moderate saturation.

CMYK print code settings for #CCA85C

For print design setups, the CMYK values for the #CCA85C color code are Cyan: 0%, Magenta: 18%, Yellow: 55%, and Black: 20%. Orange balances warmth and friendliness, serving as a bright focal accent in active user interfaces.

Red Channel 204
Green Channel 168
Blue Channel 92
Luminance 0.416

HEX #CCA85C Color Space Conversions

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

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #CCA85C

Small body copy preview

Black Text on Background

Black text readability test with #CCA85C

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 #CCA85C */
--color-hex: #CCA85C;
--color-rgb: rgb(204, 168, 92);
--color-hsl: hsl(41deg, 52%, 58%);

Adjacent HEX Color Codes

Copied!