The invention provides a method for comprehensively extracting dye
lignin and
kaempferol from
sophora fruit. The technical concept is shown in the steps as follows: 1, crushing raw materials, hydrolyzing through
acid water, and extracting acidolysis
slag through an
organic solvent; 2, combining an extracting liquid, and concentrating and filtering the extracting liquid to obtain precipitate which is a mixture of
kaempferol and dye
lignin; 3, extracting the obtained precipitate through alkaline liquid, and centrifugally separating to obtain the precipitate which is
kaempferol and obtain the supernate which is dye
lignin; 4, dissolving the obtained precipitate through the
organic solvent, and adding an absorbent to be purified, and filtering, concentrating, and centrifugally separating to obtain faint yellow
powder which is kaempferol; and 5, discoloring the supernate obtained in step 3 through the absorbent, and filtering, then adjusting the pH (Potential Of
Hydrogen), standing and precipitating, and centrifugally separating to obtain the
white powder which is the dye lignin. With the adoption of the method provided by the invention, the problem of the prior art that the resource is wasted because two products cannot be comprehensively developed can be overcome, the extracting step is optimized, the producing cost is reduced, and the
operability is improved.