fortunately; luckily; by good chance
Used when a situation turns out well or conveniently, often with a nuance of 'just right' or 'at a good time'. The phrase comes from いい塩梅 (good condition/timing) + に.
Fortunately, the bus came right away.
Luckily the rain stopped, and we could go out for a walk.
都合よく focuses on convenience or suitability for one's plans, whereas いい塩梅に carries a lighter, more colloquial feel of things working out nicely.
Standard kanji spelling; 塩梅 is a common ateji for あんばい.
Alternative kanji spelling using 良い for いい; slightly more formal or written.
From いい (good) + 塩梅 (condition, seasoning, timing) + に (adverbial particle). 塩梅 is an ateji spelling for あんばい, which originally referred to seasoning and later extended to mean 'condition' or 'state of things'.