#F5D312 Hex Color

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

Hex color #f5d312 graphic
Bright and highly saturated, #f5d312 is a warm yellow with a clean, glowing finish. Its energetic tone suits sale graphics, budget campaigns, construction branding, and optimistic calls to action. Use it as a small accent with charcoal or deep navy rather than a full background. Black text stays highly readable, and the hex code meets WCAG AA contrast for body text.

Questions about #f5d312

What is #f5d312 in RGB, HSL and CMYK?
In RGB, #f5d312 is rgb(245, 211, 18), in HSL hsl(51, 92%, 52%) and in CMYK 0%, 14%, 93%, 4%. Browse more shades of yellow with names and hex codes.
What colors pair well with #f5d312?
#f5d312 pairs well with charcoal, deep navy, and black, which ground its glowing warmth while preserving strong contrast for buttons, sale graphics, calls to action, and small highlights in busy layouts.
Is #f5d312 readable on white or black?
#f5d312 has a 1.47:1 contrast ratio on white and 14.20: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.