#AFE027 Hex Color

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

Hex color #afe027 graphic
Bright and highly saturated, #afe027 is a sparkling yellow-green with a warm, electric edge. The hex code #afe027 brings growth and energy to nature, sports, gaming, and energy drink branding, but works best as a small accent beside charcoal or deep navy. Black text reads clearly on this color, making it suitable for accessible UI labels and bold buttons.

Questions about #afe027

What is #afe027 in RGB, HSL and CMYK?
In RGB, #afe027 is rgb(175, 224, 39), in HSL hsl(76, 75%, 52%) and in CMYK 22%, 0%, 83%, 12%.
What colors pair well with #afe027?
The best pairings for #afe027 are charcoal, navy, and near-black, because these darker neutrals temper its bright yellow-green energy and provide a clear backdrop for accents, buttons, and small branded details.
Does #afe027 look warm or cool?
#afe027 reads as a warm yellow-green because its vivid green is pulled toward yellow, giving it a lively, energetic character rather than the cooler feel of blue-leaning greens in surrounding palettes.
Is black or white text better on #afe027?
Black text is the stronger choice on #afe027, offering high contrast against its bright yellow-green surface, while white text has much less contrast and should not be assumed accessible without checking the exact size, weight, and surrounding context.
Is #afe027 readable on white or black?
#afe027 has a 1.55:1 contrast ratio on white and 13.51: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.