#F2BF0C Hex Color

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

Hex color #f2bf0c graphic
This saturated, sunny hue demands attention without feeling harsh. Because #f2bf0c has high visual impact, it functions best as a 10% accent color for buttons or call-to-action elements rather than a background. It pairs exceptionally well with deep charcoal grays to create sharp, readable contrast. The hex code is #f2bf0c, which maintains excellent legibility when paired with black text for accessible web design.

Questions about #f2bf0c

What is #f2bf0c in RGB, HSL and CMYK?
In RGB, #f2bf0c is rgb(242, 191, 12), in HSL hsl(47, 91%, 50%) and in CMYK 0%, 21%, 95%, 5%. Browse more shades of yellow with names and hex codes.
What colors pair best with #f2bf0c for design layouts?
#f2bf0c creates a bold, readable aesthetic when paired with charcoal or deep navy tones. Because this yellow is so vibrant, it works best when anchored by dark neutrals that allow the saturation to pop without overwhelming the rest of your design.
Is #f2bf0c suitable for text or background elements?
Avoid using #f2bf0c as a background color for large text blocks, as its high saturation can cause eye strain. Instead, use this hue sparingly for interactive elements like buttons, icons, or important highlights to maintain optimal web accessibility and user comfort.
Is #f2bf0c readable on white or black?
#f2bf0c has a 1.71:1 contrast ratio on white and 12.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.