The correct answer is was.
The sentence needs a verb in the past simple tense because of the word "yesterday". 'Was' is the past simple form of the verb 'to be' for singular subjects like 'it'.