Yes. The Federal Fair Housing Act prevents discrimination on the basis of race in the sale or renting of housing. This law applies to anyone who is selling or renting real estate or housing. It is also unlawful to "steer" residents of a certain race to a neighborhood in which people of the same race live.
Some state and local laws have added impermissible grounds for discrimination. For example, some prohibit landlords from refusing to rent to prospective tenants with children or an animal(s) or below a set age. Others have legislated extra protection for those who are blind, disabled or students.