Having your back to the wall and no overhead lights.
Although I must say that indirect sunlight, filtered again through dark green leaves right outside the window at the other end of the room, is pretty pleasant. All the heat is kept outside where it belongs, there's no glare, etc.
Darkness is fine, natural light is fine, pools of lamplight are fine. But big banks of ceiling lights make me want to crawl under my desk and hide.