#CCC40C

Color Details

HEX
#CCC40C
RGB
rgb(204, 196, 12)
HSL
hsl(58, 89%, 42%)
CMYK
cmyk(0%, 4%, 94%, 20%)
Best text on this color #000000 (CR 11.47:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #CCC40C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #CCC40C

#CCC40C converts to RGB(204, 196, 12) and HSL(58, 89%, 42%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#CCC40C FAQs

What is the RGB value of #CCC40C?
RGB: 204, 196, 12. Copy as CSS: rgb(204, 196, 12)
Is #CCC40C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #CCC40C?
Complement: #0c12ca.
Does #CCC40C have good contrast on white or black?
On white: 1.83:1 (Fails AA). On black: 11.47:1 (AAA (normal text)).