#AFB115 Hex Color

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

Hex color #afb115 graphic
#afb115 is a saturated yellow with green-olive undertones and medium lightness, giving designs an energetic, attention-grabbing edge. Use it as a small accent for calls to action, sale graphics, or construction branding rather than a full background. Black text remains highly readable, with about a 9.1:1 contrast ratio. The hex code is #afb115.

Questions about #afb115

What is #afb115 in RGB, HSL and CMYK?
In RGB, #afb115 is rgb(175, 177, 21), in HSL hsl(61, 79%, 39%) and in CMYK 1%, 0%, 88%, 31%.
What colors pair well with #afb115?
#afb115 pairs well with charcoal, dark neutrals, and muted blue-violet tones, which balance its bright yellow-green energy, keep layouts grounded, and give the saturated yellow a calmer visual frame within the overall composition. Use brighter blue-violet accents sparingly for stronger complementary contrast.
Is #afb115 readable on white or black?
#afb115 has a 2.30:1 contrast ratio on white and 9.12: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.