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

#f2ba1f is a high-energy yellow with saturated, golden warmth. It acts best as a bold accent or call-to-action button, as it can overwhelm a layout if used for large backgrounds. This shade pairs exceptionally well with charcoal grays or deep navies to create a modern, high-contrast look. Because black text offers high readability here, use this hex code for interface elements requiring immediate user attention.
Questions about #f2ba1f
What is #f2ba1f in RGB, HSL and CMYK?
In RGB, #f2ba1f is rgb(242, 186, 31), in HSL hsl(44, 89%, 54%) and in CMYK 0%, 23%, 87%, 5%. Browse more shades of yellow with names and hex codes.
How should I use #f2ba1f in interface design?
Use #f2ba1f strictly as a high-visibility accent color for interface elements like call to action buttons. Because of its intense brightness, avoid using this color for large backgrounds as it can cause eye strain and overwhelm the layout.
Is #f2ba1f readable on white or black?
#f2ba1f has a 1.77:1 contrast ratio on white and 11.81: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.