#F5F17F Hex Color

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

Hex color #f5f17f graphic
This luminous yellow is high in lightness and saturation, making it an excellent choice for a bold accent rather than a full background. Pair it with charcoal gray or deep violet to ground the energy. Because #f5f17f offers excellent contrast for black text, it works well for UI buttons or sale callouts that need immediate attention. The hex code for this shade is #f5f17f.

Questions about #f5f17f

What is #f5f17f in RGB, HSL and CMYK?
In RGB, #f5f17f is rgb(245, 241, 127), in HSL hsl(58, 86%, 73%) and in CMYK 0%, 2%, 48%, 4%. Browse more shades of yellow with names and hex codes.
How can I use #f5f17f effectively in a user interface?
Use #f5f17f sparingly as a high-contrast accent for call-to-action buttons, sale banners, or focus elements. Because of its extreme brightness, it works best when grounded by dark neutrals like charcoal or deep violet tones to prevent visual fatigue.
Is #f5f17f readable on white or black?
#f5f17f has a 1.18:1 contrast ratio on white and 17.77: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.