Ternary Mixtures of anionic, cationic, and non-ionic compounds