You won't notice a difference between a 40mm and a 50mm unless you are hunting or shooting in very low light conditions.
For what they cost they both do a pretty good job in low light conditions. I might give the nod to the 50mm but not by much. Maybe it's just my 46 year old eyes