BOSTON — Looks like they’re only parking luxury cars in Harvard Yard.

The university has a whopping 23 times as many rich students as poor students — and that’s just how the Ivy League institution likes it, an education expert testified Monday.

Richard Kahlenberg, an expert witness for a group of Asian-Americans suing the school for discrimination, said the college could increase both racial and economic diversity among its student body without sacrificing academic standards — but it doesn’t want to because of financial concerns.

“The socioeconomic diversity at Harvard is deeply lacking,” Kahlenberg, a senior fellow at progressive think tank the Century Foundation, said in Boston federal court.

“If we’re trying to create a genuinely fair meritocracy, then we’d want to look at the economic obstacles that someone has had to overcome.”

Kahlenberg supports plaintiff Students for Fair Admissions’ objective of eliminating affirmative action and promoting a “race neutral” admissions process instead.

Harvard’s 2019 class is 40 percent white, 24 percent Asian-American, 14 percent African-American and 14 percent Hispanic — but a massive 82 percent of those scholars are economically advantaged, said Kahlenberg.

Dean of Harvard College Rakesh Khurana later confirmed on the stand that the school’s own data shows 30 percent of students at Harvard come from the top 5 percent of household incomes in the US — earning more than $150,000 a year.

Kahlenberg presented four different models for admissions, including ones that would eliminate racial and legacy preferences but boost poor applicants’ chances.

Under one such model, the average result would be fewer white and black students, but more Asian-American and Hispanic pupils, he said.

Roughly half the students would be economically advantaged and half disadvantaged, while SAT and GPA scores would remain essentially the same.

But in a report examining the alternative models, the school argued, in part, that they’d “put more financial pressure on” the institution.

Kahlenberg, himself a Harvard grad, pooh-poohed that concern.

“Harvard University is literally the richest university in the entire country. [Its] $37 billion endowment is bigger than the GDP of half the world’s countries,” he said.

During cross examination, Harvard’s attorney said its own data found a race-neutral approach to admissions would actually lead to a 10-point drop in academic ratings — and the African-American student population would plummet by 40 percent.

Kahlenberg acknowledged that all of his models wind up decreasing the numbers of African-American students on campus — but claimed that was because the school didn’t share more data with him.

Khurana, meanwhile, was grilled on why rich kids are so over-represented at Harvard.

“What is special about wealthy people that Harvard needs to have them overrepresented by a factor of six on its campus?” said Adam Mortara, a lawyer for the plaintiffs.

He responded that the school isn’t “trying to mirror the socioeconomic or income distribution of the United States.”

Mortara asked whether the school was perpetuating “inequality in American” by giving so many spaces to “the richest among us.”

“That’s now how the admissions process works,” Khurana protested.

Mortara promised to press the dean further on the question when he returns to the stand Tuesday.

Additional reporting by Ruth Brown