Hex Color Code #CCB45C — RGB & HSL Conversions
How to use the #CCB45C color code in HTML & CSS?
To apply the hex color #CCB45C in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #CCB45C; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #CCB45C; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#CCB45C].
What are the RGB and HSL conversion values for #CCB45C?
In the digital sRGB color space, the hex value #CCB45C is converted to RGB values of Red: 204, Green: 180, and Blue: 92. When analyzed under the HSL model, its coordinates correspond to hue angle 47°, 52% saturation, and 58% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.
CMYK print code settings for #CCB45C
When converting #CCB45C for CMYK printing, the color separation consists of 0% Cyan, 12% Magenta, 55% Yellow, and 20% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.
HEX #CCB45C Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #CCB45C
Small body copy preview
Black text readability test with #CCB45C
Small body copy preview
Complementary & Analogous Harmonies
Perfect matching color schemes for your designsShades & Tints Generator Matrix
Copy shade hex values instantlyDarker Shades (Adding Black)
Lighter Tints (Adding White)
CSS Custom Properties (Variables)
--color-hex: #CCB45C;
--color-rgb: rgb(204, 180, 92);
--color-hsl: hsl(47deg, 52%, 58%);