Harmony is a tough topic because it is entirely subjective and it refers to how attractive or unattractive a color combination is to each individual.
According to the great color theoretician Johannes Itten, two or more colors are harmonious if their mixture yields a neutral grey.
To better understand harmony, we use the color wheel where we place the primary, the secondary and the tertiary colors. You will see that the harmonic relationships are formed of two, three, four or more tones.
Here are some of them:
β–Ί Two diametrically opposed colors form a harmonious DYAD.
Examples of dyads: πŸ™‚ RED and GREEN, πŸ™‚ BLUE and ORANGE, πŸ™‚ YELLOW and VIOLET.
β–Ί Three hues that form an equilateral triangle or an isosceles triangle form a harmonious TRIAD.
Examples of triads: πŸ™‚ YELLOW, RED and BLUE, πŸ™‚ YELLOW, BLUE-VIOLET and RED-VIOLET.
β–Ί Two pairs of complementaries whose connection form a square or a rectangle is called a TETRAD.
Examples of tetrads: πŸ™‚ YELLOW, VIOLET, BLUE-GREEN and RED-ORANGE, πŸ™‚ YELLOW-GREEN, YELLOW-ORANGE, BLUE-VIOLET and RED-VIOLET.

Considering the above definitions, you can play with the color wheel and find other dyads, triads and tetrads.