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

This luminous, high-saturation yellow commands immediate attention in UI design. It functions best as an energetic accent for call-to-action buttons or sale badges rather than a full background. The hex code for this shade is #fffc31. It pairs exceptionally well with black text, creating high-contrast layouts that remain accessible for all users. Use this yellow to inject spontaneity and purpose into your interface.
Questions about #fffc31
What is #fffc31 in RGB, HSL and CMYK?
In RGB, #fffc31 is rgb(255, 252, 49), in HSL hsl(59, 100%, 60%) and in CMYK 0%, 1%, 81%, 0%. Browse more shades of yellow with names and hex codes.
How can I use #fffc31 effectively in UI design?
#fffc31 acts as a powerful accent color that demands attention, so use it sparingly for call-to-action buttons or success indicators. Because it is highly saturated, it works best when grounded by dark neutral text, such as charcoal or deep gray, to maintain readability and avoid visual fatigue.
Is #fffc31 readable on white or black?
#fffc31 has a 1.09:1 contrast ratio on white and 19.22: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.