#FFF04F Hex Color

Online color picker to view shades, tints, color codes, and complementary colors

Hex color #fff04f graphic
This luminous, high-chroma yellow demands attention, making it an excellent choice for accents like call-to-action buttons or sale banners. Because of its intense brightness, it can overwhelm a layout if used as a primary background. It pairs effectively with deep charcoal or black text, which maintains high legibility. The hex code for this energetic shade is #fff04f.

Questions about #fff04f

What is #fff04f in RGB, HSL and CMYK?
In RGB, #fff04f is rgb(255, 240, 79), in HSL hsl(55, 100%, 65%) and in CMYK 0%, 6%, 69%, 0%.
What design elements pair best with #fff04f?
Use #fff04f sparingly as an accent against deep charcoal or near-black backgrounds to maintain legibility. Because this yellow is highly luminous, it creates a striking visual hierarchy when placed next to darker, neutral tones for buttons or UI highlights.
Is #fff04f readable on white or black?
#fff04f has a 1.17:1 contrast ratio on white and 17.82: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.