Yes, but it looks like owner-occupied homes that are renting out a bedroom on AirBnB are exempt[1] from those discrimination laws. Paraphrase of law: "other than ... a building which contains not more than five rooms for rent ... which is actually occupied by the proprietor ... as his residence"
Basically, it is legal for homeowners to discriminate on race for their personal dwelling. The concept appears to be related to the "roommate wanted" being exempted from the FHA Fair Housing Act.[2]
There may be a grey area regarding a larger 6-bedroom home that the owner occupies but is renting out for a week while he's out of town. The owner doesn't have to physically share the space simultaneously with the renter. I can't tell if anti-discrimination laws applies to that situation.
[1]https://www.law.cornell.edu/uscode/text/42/2000a:
(1) any inn, hotel, motel, or other establishment which provides lodging to transient guests, other than an establishment located within a building which contains not more than five rooms for rent or hire and which is actually occupied by the proprietor of such establishment as his residence;
[2]https://blog.splitwise.com/2012/02/07/court-allows-discrimin...