Representative Ed Perlmutter of Colorado asked Yellen during a U.S. House Financial Services Committee hearing whether allowing cannabis businesses to access the banking system -- now prohibited by federal law -- to conduct transactions would make the IRS' job easier in collecting tens of millions of taxes that have gone unpaid from such firms.

"Yes, of course it would," Yellen replied.

(Reporting by David Lawder)