strike a happy medium

To find an answer to a problem that is halfway between two unsatisfactory answers.
Mary said the dress was blue. Jane said it was green. They finally struck a happy medium and decided it was blue-green.
Two teaspoons of sugar made the cup of coffee too sweet, and one not sweet enough. One heaping teaspoon struck a happy medium.
Categories: {v. phr.}