The mood of a painting is more important and expresses the essence of the subject far more than the factual details.
Harmony was easily achieved because by having just these few colors, every color that was mixed simply couldn't go far off track.
This landscape was also painted by just using three colors. Alizarin Crimson, Ultramarine Blue, and Indian Yellow.
(click on painting to enlarge)