Equal Opportunity Employment was created to prohibit federal contractors from discriminating against employees on the basis of race, sex, creed, religion, color, or national origin. Legislation prohibiting discrimination on the basis of race, sex, and national origin before the 1964 Civil Rights Act.