#AFAC26 Hex Color

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

Hex color #afac26 graphic
This chartreuse-leaning yellow is bold and high-energy. Because of its intense, near-neon saturation, #afac26 works best as a 10% accent color for call-to-action buttons or marketing highlights rather than a full background. It pairs surprisingly well with dark charcoal or deep violet to temper the brightness. The hex code for this vivid shade is #afac26, which provides strong contrast against black text for readable UI details.

Questions about #afac26

What is #afac26 in RGB, HSL and CMYK?
In RGB, #afac26 is rgb(175, 172, 38), in HSL hsl(59, 64%, 42%) and in CMYK 0%, 2%, 78%, 31%.
What colors pair well with #afac26?
#afac26 functions best when grounded by dark, neutral tones that absorb its intensity. Pair it with charcoal or deep violet to create a sophisticated balance that keeps the yellow from becoming overwhelming in a design layout.
Is #afac26 readable on white or black?
#afac26 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.