If you are an employee, here is the law, according to Title VII of H.R. 7152, aka the Civil Rights Act of 1964.
“Sec. 703. (a) It shall be an unlawful employment practice for an employer—
(1) To fail or refuse to hire or to discharge any individual, or otherwise to discriminate
against any individual with respect to his compensation, terms, conditions, or
privileges of employment, because of such individual’s race, color, religion, sex, or
national origin; or
(2) To limit, segregate, or classify his employees in any way which would deprive or tend
to deprive any individual of employment opportunities or otherwise adversely affect
his status as an employee, because of such individual’s race, color, religion, sex, or
national origin.
(d) It shall be an unlawful employment practice for any employer, labor organization,
or joint labor-management committee controlling apprenticeship or other training or
retraining, including on-the-job training programs to discriminate against any
individual because of his race, color, religion, sex, or national origin in admission to, or
employment in, any program established to provide apprenticeship or other training.”