Light quality consists of a spectrum of different bands, which not only affects plant, development, and primary metabolism but also affects the secondary metabolism of plants. It is an important factor affecting the content of active components of medicinal plants. The A. paniculata seedlings planted in the laboratory, as materials, were tested with red light, far red light, blue light, and ultraviolet light separately. The study assays the content of six main chemical components separately by LC-MS, observes the changes in the content, and analyzes the relationship between the light quality and the active ingredient of A. paniculata. Using the ointment yield and pH value, the fingerprint analysis method of A. paniculata standard decoction was established, and we discussed the selection of index components of A. paniculata standard decoction. It was suggested to select andrographolide as the index component. It will provide a theoretical basis for the large area cultivation of A. paniculata and optimize the quality of medicinal materials to ensure the quality of standard decoction.