Mayer, a former Google executive, was brought on board in 2012 to turn around the Web company. In total, Yahoo had about 12,400 employees as of the end of March.
"Yahoo works to ensure that our existing employees feel welcome and supported during their time at the company," Jackie Reses, Yahoo's chief development officer, wrote in the blog post.
"Overall, our goal at Yahoo is to create a workplace culture that attracts and retains all talents, regardless of background, and to help our people grow to their full potential."
Read also: Are all-girl schools the key to tech success?
The disclosures show Yahoo is slightly ahead of Google in the composition of women in its workforce, with the world's largest search engine recently saying that 30 per cent of its employees are female. The two companies are relatively in line on ethnicity in the US, with just 2 per cent of Yahoo's US workforce being African-American and 4 per cent Hispanic.
The company has many employee resource groups to serve people of diverse backgrounds, according to the post.
Sarah Meron, a spokeswoman for Yahoo, declined to comment beyond the diversity report.
- Bloomberg