Cal. Rev. & Tax. Code § 17203
For purposes of applying limitations on the deductions described in this section, any reference to “compensation” or “earned income” shall be a reference to the amount required to be used for purposes of limiting the deduction in computing federal income tax for the same taxable year.