#C5A505 Hex Color

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

Hex color #c5a505 graphic
Dark mustard with a neon kick. #c5a505 is a saturated yellow that reads warm and mellow at once, which suits sale banners, budget branding, and construction signage. It works best as an accent, since large fields can feel heavy. Black text on this hex code reaches about 8.8:1 contrast, so small type stays readable. Pair it with charcoal for a richer match than plain white.

Questions about #c5a505

What is #c5a505 in RGB, HSL and CMYK?
In RGB, #c5a505 is rgb(197, 165, 5), in HSL hsl(50, 95%, 40%) and in CMYK 0%, 16%, 97%, 23%. Browse more shades of yellow with names and hex codes.
What text color works best on #c5a505?
Black text is the safe choice on #c5a505, reaching about 8.8:1 contrast. That clears the WCAG AA threshold of 4.5:1, so the color works behind small body text, not just large headings.
How should I use #c5a505 in a design?
Treat it as an accent in a 60/30/10 layout, since full backgrounds of this dark yellow can feel heavy. It pairs well with charcoal or deep navy, and it suits sale tags, budget branding, and construction signage.
Is #c5a505 readable on white or black?
#c5a505 has a 2.39:1 contrast ratio on white and 8.75: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.