The city Commission on Human Rights hit a leading headhunting firm with its second-biggest fine ever for failing to crack down on a creepy company executive who allegedly violated every HR policy imaginable — including groping an underling, telling the woman he wanted to “suck on her boobies” and humping her office door.

The firm, Wegman Partners, will have to pay the city $155,000 for the lecherous behavior of former executive chairman Scott Legg.

It has also agreed to provide new sexual harassment training for its employees, changes to its human resources policies and the creation of an independent counsel or HR firm to deal with harassment complaints.

Wegman Partners reached a separate, private settlement with Veronica McIlraith, who claimed she was forced out of her prestigious job as a managing director at the firm’s Manhattan office in 2017 for reporting Legg’s harassment.

Her attorney, Zoe Salzman, declined to comment beyond confirming that her client resolved her claims.

In July 2015, Legg “aggressively grabbed at Ms. McIlraith’s breasts in the office kitchen and tried to open her sweater,” sending her running into her cubicle, the complaint says.

McIIraith accused her boss of becoming violent when she rebuffed his advances, calling her a “bitch” and throwing furniture.

Her complaint included damning documentation of the harassment — photos of a sign Legg allegedly posted outside his office that read “Suck my balls,” a copy of a text message from Legg that read “Maybe I’ll suck on your boobies,” and a picture of Legg sprawled out on the office floor after an alleged cocaine- and booze-fueled bender.

Legg no longer works for the firm.

The Wegman penalty is second only to a $250,000 fine issued in 2015 against the 90-year-old owner of a meter-reading company for allegedly striking a female employee’s buttocks and shoving a newspaper in her underwear.

Legg and a Wegman rep did not immediately return messages seeking comment.

The commission has collected $2.2 million from sex harassment claims since the #MeToo movement started two years ago. The agency is currently reviewing 209 gender-based harassment complaints.

“Workplace sexual harassment is a longstanding issue that I have sought to address with the full enforcement power afforded by the NYC Human Rights Law,” said Carmelyn P. Malalis, chair of the commission.

“In 2017, the bravery of the hundreds of thousands of people who came forward for the #MeToo movement created a momentum that is still creating change today. We will continue to use these cases to send the message that New York City will not be idle in prosecuting workplace sexual harassment,” Malalis said.