Cal. Pub. Cont. Code § 10262.5
(a) Notwithstanding any other law, a prime contractor or subcontractor shall pay to any subcontractor, not later than seven days after receipt of each progress payment, the respective amounts allowed the contractor on account of the work performed by the subcontractors, to the extent of each subcontractor’s interest therein. In the event that there is a good faith dispute over all or any portion of the amount due on a progress payment from the prime contractor or subcontractor to a subcontractor, then the prime contractor or subcontractor may withhold no more than 150 percent of the disputed amount.
Any contractor who violates this section shall pay to the subcontractor a penalty of 2 percent of the amount due per month for every month that payment is not made. In any action for the collection of funds wrongfully withheld, the prevailing party shall be entitled to his or her attorney’s fees and costs.