It is unlawful for the directors, trustees, managers or officers of an insurance company organized under the laws of this state, directly or indirectly, to make or pay dividends on its capital stock, or pay any interest, bonus or other allowance in lieu of dividends except out of earned surplus as distinguished from contributed surplus. Earned surplus shall be calculated after reserving a sum equal to all liabilities of the company and may include all or part of surplus arising from unrealized capital gains or revaluation of assets. Any dividends or payments made contrary to the provisions of this section shall subject the company to a forfeiture of its charter.
K.S.A. 40-233