Interpolate colors blue and yellow to make green (color wheel interpolation?)

I tried to use the interpolation formula:
c = a + (b - a) * t
where
a = color 1
b = color 2
c = resulting color
t = alpha

But i get the same result (i set the color of the text)
image