Women were welcomed and encouraged by the government and society to work long hours in the war factories, as long as they gave up those jobs when the men returned. They were kept from combat duty, almost always employed in an auxiliary role, and rarely given promotions to higher ranks.
African-Americans served in segregated units, meant mostly to serve as supply units and graves details (with notable exceptions - see Tuskegee Airmen and armored divisions), and again, were rarely given command ranks. African-American civilians in war factories were paid less than whites until FDR signed an executive order ending the practice. In civilian life, they were still paid less tough, and segregated by Jim Crow laws.