One embodiment of the present invention relates to a composition comprising: (a) at least one first anionic surfactant selected from glutamic acid compounds and salts thereof; (b) at least one second anionic surfactant selected from alanine compounds and salts thereof, glycine compounds and salts thereof, and mixtures thereof; (c) at least one nonionic surfactant; and (d) at least one thickener. One embodiment according to the present invention is stable and can form foam with good quality.