The invention relates to a composition which contains at least one anionic surfactant, a betaine surfactant, a mixture of N-methyl-N-acylglucamines, the acyl groups of which correspond to those of natural coconut oil and/or palm kernel oil, a glycerol derivative, a solvent and optionally one or more additives. The invention also relates to a method for producing the composition. The invention further relates to the use of the composition for the treatment or care of skin or hair, for example as a shampoo, face cleaner, liquid cleaner or shower gel.