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

This energetic yellow commands attention, making it a natural choice for sale banners and UI call-to-action buttons. The hex code #ffcf56 is highly saturated, so it functions best as a 10 percent accent rather than a dominant background. Since black text provides excellent contrast against this tone, it remains readable even at small sizes. Pair it with deep charcoal to effectively ground its intensity.
Questions about #ffcf56
What is #ffcf56 in RGB, HSL and CMYK?
In RGB, #ffcf56 is rgb(255, 207, 86), in HSL hsl(43, 100%, 67%) and in CMYK 0%, 19%, 66%, 0%. Browse more shades of yellow with names and hex codes.
Where should I use #ffcf56 in my design?
Use #ffcf56 primarily as a high-impact accent color for small elements like buttons, badges, or sale banners. Because it is highly saturated, it often overwhelms a layout when used as a large background, but it grabs attention effectively for key user interactions.
Is #ffcf56 readable on white or black?
#ffcf56 has a 1.46:1 contrast ratio on white and 14.31: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.