Hex Color Code #CCD45C — RGB & HSL Conversions
How to use the #CCD45C color code in HTML & CSS?
To apply the hex color #CCD45C in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #CCD45C; will paint elements in this warm undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #CCD45C; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#CCD45C].
What are the RGB and HSL conversion values for #CCD45C?
In the digital sRGB color space, the hex value #CCD45C is converted to RGB values of Red: 204, Green: 212, and Blue: 92. When analyzed under the HSL model, its coordinates correspond to hue angle 64°, 58% saturation, and 60% lightness. This makes it visually a balanced medium tone with a balanced, moderate saturation.
CMYK print code settings for #CCD45C
When converting #CCD45C for CMYK printing, the color separation consists of 4% Cyan, 0% Magenta, 57% Yellow, and 17% key/black. Yellow shades are excellent warning triggers and call-to-actions, radiating optimism, energy, and caution.
HEX #CCD45C Color Space Conversions
Click to copy formatContrast & Accessibility (WCAG 2.1) Check
White text readability test with #CCD45C
Small body copy preview
Black text readability test with #CCD45C
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: #CCD45C;
--color-rgb: rgb(204, 212, 92);
--color-hsl: hsl(64deg, 58%, 60%);