Green beans should be planted in full sun, which means at least 6 hours of direct sunlight per day. Partial shade can lead to slower growth and lower yields.