NYPD quotas are alive and well, according to a text-message exchange obtained by The Post.

A Queens lieutenant denied a cop time off for insufficient “activity,” the texts show — even though such punishment is illegal under state labor law.

The cop — whose name is being withheld by The Post — sent Lt. Stevelle Brown a message at 4:30 p.m. Saturday asking for permission to take that night off.

Brown responded by asking for details on the cop’s “activity for last month,” with the cop answering that it was just “one moving violation and three parking summonses.”

“I believe I will be seeing you a(t) work tonight then,” Brown wrote back.

Experts said Brown’s response ran afoul of a 2010 state law that bans police departments from punishing cops if they fail to meet quotas for issuing tickets or summonses, or arresting or stopping criminal suspects.

“This is in effect a quota and it is illegal,” said NYPD watchdog Robert Gangi, director of the Police Reform Organzing Project.

“It’s clearly a quota because he’s putting pressure on an officer to produce certain numbers, despite what’s actually happening in the community.”

Former NYPD cop and John Jay criminology professor Eugene O’Donnell also said Brown was enforcing “a quota, straight up.”

“We don’t necessarily know what the quota is. But the lieutenant does. He has something in his mind that the cop has not reached,” O’Donnell said.

Patrolmen’s Benevolent Association president Pat Lynch said the incident disproved NYPD claims “of wanting quality over quantity.”

“Over the years, quotas have caused the friction between the NYPD and the community. It must stop now,” Lynch added.

An NYPD source said Deputy Inspector Michael Coyle — who commands the 105th Precinct, where both Brown and the cop are assigned — held a meeting several days before the text messages at which he complained that summons activity was down significantly and demanded a return to normal levels.

Last month, The Post reported exclusively that bosses in the 105th had barred cops there from taking any time off to boost the numbers of arrests and summonses following a slowdown spurred by the Dec. 20 assassinations of two NYPD cops in Brooklyn.

“Everyone here is under orders — no time off,” a cop there told The Post at the time.

An NYPD spokesman didn’t respond to a request for comment.