Kouyanqing Granule (KYQG) is a traditional Chinese herbal formula composed of Flos lonicerae (FL), Radix scrophulariae (RS), Radix ophiopogonis (RO), Radix asparagi (RA), and Radix et rhizoma glycyrrhizae (RG). In contrast with the typical method of separating and then biologicalily testing the components individually, this study was designed to establish an approach in order to define the core bioactive ingredients of the anti-inflammatory effects of KYQG based on the relevance analysis between chemical characters and biological effects. Eleven KYQG samples with different ingredients were prepared by changing the ratios of the 5 herbs. Thirty-eight ingredients in KYQG were identified using Ultra-fast liquid chromatography-Diode array detector-Quadrupole-Time-of-flight-Tandem mass spectrometry (UFLC-DAD-Q-TOF-MS/MS) technology. Human oral keratinocytes (HOK) were cultured for 24 hours with 5% of Cigarette smoke extract (CSE) to induce inflammation stress. Interleukin-1β (IL-1β), interleukin-6 (IL-6), interleukin-8 (IL-8), and tumour necrosis factor-α (TNF-α) were evaluated after treatment with the eleven KYQG samples. Grey relational analysis(GRA), Pearson’s correlations (PCC), and partial least-squares (PLS) were utilized to evaluate the contribution of each ingredient. The results indicated that KYQG significantly reduced interleukin-1β, interleukin-6, interleukin-8, and tumour necrosis factor-α levels, in which lysine, γ-aminobutyric acid, chelidonic acid, tyrosine, harpagide, neochlorogenic acid, chlorogenic acid, cryptochlorogenic acid, isoquercitrin, luteolin-7-o-glucoside, 3,4-dicaffeoylquinic acid, 3,5-dicaffeoylquinic acid, angoroside C, harpagoside, cinnamic acid, and ruscogenin play a vital role.