California Government Code Sec. § 12947.5 (a) It shall be an unlawful employment practice for an employer to refuse to permit an employee to wear pants on account of the sex of the employee. (b) Nothing in this section shall prohibit an employer from requiring employees in a particular occupation to wear a uniform. (c) Nothing in this section shall prohibit an employer from requiring an employee to wear a costume while that employee is portraying a specific character or dramatic role. (d) The council may exempt an employer from the requirements of this section for good cause shown and shall adopt standards and procedures for granting exemptions.