#CCB31C

Color Details

HEX
#CCB31C
RGB
rgb(204, 179, 28)
HSL
hsl(51, 76%, 45%)
CMYK
cmyk(0%, 12%, 86%, 20%)
Best text on this color #000000 (CR 10.03:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #CCB31C swatch

Embed this swatch

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

Open image

About #CCB31C

#CCB31C converts to RGB(204, 179, 28) and HSL(51, 76%, 45%). 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).

#CCB31C FAQs

What is the RGB value of #CCB31C?
RGB: 204, 179, 28. Copy as CSS: rgb(204, 179, 28)
Is #CCB31C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #CCB31C?
Complement: #1c36ca.
Does #CCB31C have good contrast on white or black?
On white: 2.09:1 (Fails AA). On black: 10.03:1 (AAA (normal text)).