HEX Color Conversion

Hex Color Code #CCAC3F — RGB & HSL Conversions

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

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

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

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

CMYK print code settings for #CCAC3F

For print design setups, the CMYK values for the #CCAC3F color code are Cyan: 0%, Magenta: 16%, Yellow: 69%, and Black: 20%. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.

Red Channel 204
Green Channel 172
Blue Channel 63
Luminance 0.427

HEX #CCAC3F Color Space Conversions

Click to copy format
HEX Color Code #CCAC3F
RGB (Red Green Blue) rgb(204, 172, 63)
HSL (Hue Sat Light) hsl(46°, 58%, 52%)
CMYK (Commercial Print) cmyk(0%, 16%, 69%, 20%)
HSV / HSB Values hsv(46°, 69%, 80%)
Decimal Color Code 13413439
CSS Custom Variable --color-hex: #CCAC3F;
Tailwind CSS Utility bg-[#CCAC3F]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #CCAC3F

Small body copy preview

Black Text on Background

Black text readability test with #CCAC3F

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 #CCAC3F */
--color-hex: #CCAC3F;
--color-rgb: rgb(204, 172, 63);
--color-hsl: hsl(46deg, 58%, 52%);

Adjacent HEX Color Codes

Copied!