Some bees and wasps have an attraction to the color yellow. Although many hummingbird feeders are red, any yellow plastic on the feeder can attract bees and wasps. Most hummingbird feeders have a mix of red and clear plastic. However, special bee guards meant to limit access from the feeder to bees or wasps may be yellow, actually attracting the pests rather than retarding them.
The solution in the hummingbird feeder typically includes syrup or water, which has a natural attraction for honeybees. Some wasps and yellow jackets may also have an attraction to the feeder solution. Hummingbirds may not use the feeder when it competes with these other pests at the feeder. A large attraction of honeybees may also result in the bees building a hive near your home.
A few corrective actions can help you distract bees and wasps from the hummingbird feeder. You can set up a feeder where birds feed through openings at the top of the feeder rather than the bottom. Moving the feeder to a different location can also distract bees and wasps from finding the feeder a second time. Attaching a natural color bee guard can also remedy the situation.