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

#ffdf52 is a high-energy, neon-leaning yellow with intense saturation that demands immediate attention. This brightness makes it ideal for 10% accent work in UI design, such as call-to-action buttons or sale badges. Because it has excellent contrast against black text, it remains highly legible even at small sizes. Use this hex code sparingly, as its glowing intensity can quickly overwhelm a layout if used as a primary background.
Questions about #ffdf52
What is #ffdf52 in RGB, HSL and CMYK?
In RGB, #ffdf52 is rgb(255, 223, 82), in HSL hsl(49, 100%, 66%) and in CMYK 0%, 13%, 68%, 0%.
What is the best way to use #ffdf52 in UI design?
Use #ffdf52 sparingly as a 10% accent color for interactive elements like call-to-action buttons or sale badges. Its glowing intensity easily overwhelms layouts, so pair it with neutral backgrounds to maintain visual balance and legibility.
Is #ffdf52 readable on white or black?
#ffdf52 has a 1.31:1 contrast ratio on white and 15.92: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.