In this work, we investigate the fewest number of colors needed to guarantee a rainbow solution to the equation x1+x2=kx3 in Zn. This value is called the Rainbow number and is denoted by rb(Zn,k) for positive integer values of n and k. We find that rb(Zp,1)=4 for all primes greater than 3 and that rb(Zn,1) can be deterimined from the prime factorization of n. Furthermore, when k is prime, rb(Zn,k) can be determined from the prime factorization of n.