#F0B400 Hex Color

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

Hex color #f0b400 graphic
This bright, golden yellow demands attention with its high saturation and warm, glowing undertones. The hex code #f0b400 functions best as a high-impact accent color rather than a dominant background, as it can overwhelm a layout quickly. It pairs beautifully with deep charcoal or navy blue to ground its intensity. Because black text maintains excellent readability against this shade, it works well for buttons and call-to-action elements.

Questions about #f0b400

What is #f0b400 in RGB, HSL and CMYK?
In RGB, #f0b400 is rgb(240, 180, 0), in HSL hsl(45, 100%, 47%) and in CMYK 0%, 25%, 100%, 6%. Browse more shades of yellow with names and hex codes.
What colors pair well with #f0b400?
Because of its high intensity, #f0b400 pairs most effectively with deep neutrals like charcoal or navy blue to ground its warmth. Using these darker tones provides the necessary contrast to prevent the yellow from appearing jarring or overwhelming within a layout.
Is #f0b400 a good choice for text?
Using #f0b400 as a text color is generally discouraged because its high brightness lacks the necessary contrast against white or light gray backgrounds. It is much better suited as a background for black text or as a pop of color for UI elements.
Is #f0b400 readable on white or black?
#f0b400 has a 1.86:1 contrast ratio on white and 11.23: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.