ternary compound: a compound containing three different elements.