Trnovac is a village in the municipality of Knjaà ¾evac, Serbia. According to the 2002 census, the village has a population of 227 people.