#CCC542 Hex Color
Online color picker to view shades, tints, color codes, and complementary colors

This warm, slightly muted chartreuse offers a spontaneous energy that feels both fresh and approachable. Because of its high visibility, #ccc542 works best as a small, high-impact accent color rather than a large background. Pair this hex code with deep charcoals to make the yellow pop, as its natural contrast supports excellent legibility with black text for UI elements and buttons.
Questions about #ccc542
What is #ccc542 in RGB, HSL and CMYK?
In RGB, #ccc542 is rgb(204, 197, 66), in HSL hsl(57, 58%, 53%) and in CMYK 0%, 3%, 68%, 20%. Browse more shades of yellow with names and hex codes.
Where should I use #ccc542 in my web design?
Because of its high luminosity, #ccc542 is most effective as a functional accent rather than a primary background color. Use it for call-to-action buttons or small UI elements, where its natural brightness helps guide the user's attention effectively against darker interfaces.
What colors pair well with #ccc542?
This shade demands contrast to truly shine, making it an excellent companion for deep, matte neutrals. Pairing #ccc542 with charcoal or deep slate creates a sophisticated, modern look that balances the yellow’s spontaneous energy with a grounded, readable foundation.
Is #ccc542 readable on white or black?
#ccc542 has a 1.80:1 contrast ratio on white and 11.63:1 on black. WCAG asks for 4.5:1 for body text and 3:1 for large text, so on white it is too faint for text and on black it works for body text. Try other pairs in the contrast checker.