Undermining a landmark piece of American civil-rights legislation would be a bad idea in the best of times. At the moment, it's indefensible.

Yet that is precisely what a new rule issued by Joseph Otting, the recently departed comptroller of the currency, would do to the Community Reinvestment Act.

Congress enacted the CRA in 1977 to address a long history of discrimination in lending. As recently as the 1960s, for example, the U.S. government officially excluded African-Americans from the federal subsidies that made the 30-year mortgage possible and helped create the white middle class — a policy known as redlining, after maps that designated certain areas as unfit for lending.

The effects persist to this day.

The CRA is supposed to nudge traditional lenders to restore fairness by overcoming prejudice or mere habit. Some argue that it has encouraged lenders to take undue risks, but the evidence says otherwise. Regulators have translated the law into rules requiring banks to report on their efforts to serve low- and moderate-income neighborhoods — by making mortgage and business loans, for example, or investing in community development and providing retail services. Federal examiners conduct regular reviews and issue grades that, if unsatisfactory, can become an obstacle to mergers and expansions.

The CRA rules were last significantly revised in 1995 and do need updating. They should cover the nonbank institutions that account for an increasing share of mortgage lending (a reform that would require action from Congress). They should recognize the growth of online banking. They should provide the public with more information to assess whether activities such as small-business lending and community development investments are doing any good. They should improve performance metrics and clarify what counts toward a good grade, with the goal of making lenders' activities more effective.

In almost every respect, the new rule pushes the wrong way. It removes much of the largest banks' retail lending from scrutiny. It de-emphasizes the quality of activities, by focusing on a single quantitative metric (the value of CRA-approved business as a percentage of deposits) and by making "responsiveness" to community needs an item for extra credit rather than a prerequisite. It relaxes the definition of approved activities. And it provides less granular data, making it harder for the public to assess what individual lenders are doing in specific communities.

FROM AN EDITORIAL IN BLOOMBERG OPINION