New legislation signed into law Friday by Gov. Andrew Cuomo bans employers from discriminating against workers for wearing religious garb or having facial hair.

The bill amends the state’s Human Rights Law clarifying that employers cannot “refuse to hire, attain, promote, or take other discriminatory action against an individual for wearing attire or facial hair in accordance with tenets of their religion.”

“As New Yorkers we celebrate our diversity and we champion freedom of religious expression in all places, including the workplace,” Cuomo said.

“This law will protect people from discriminatory employment practices based on religious attire or facial hair and makes it crystal clear to anyone who may still have doubts that New York has zero tolerance for bigotry of any kind.”

Current law already prohibits employment discrimination based on “a sincerely held practice of his or her religion, including but not limited to the observance of any particular day or days or any portion thereof as a sabbath or other holy day in accordance with the requirements of his or her religion.”

The law was inspired by the case of Kevin Harrington, a Sikh subway operator for the MTA, who was ordered to remove his turban or deface it with an MTA logo after 9/11. The MTA reversed its policy in 2012.

“This was unacceptable as wearing a turban is a solemn religious duty for Sikhs and affixing a badge to it would not be religiously proper,” the bill sponsors, state Sen. John Liu (D-Queens) and Assemblyman David Weprin (D-Queens), said.

New York also became one of the first states in the nation to ban discrimination based on ethnic hairstyles earlier this summer.

The new law goes into effect in two months.