This paper reports an all-solid-state yellow laser, which is based on two Nd:YAG rods connected in series and the intracavity sum frequency generation in a KTP crystal by use of a V-shaped folding configuration, and continuous-wave 589 nm light with the output power of 3 W is obtained. In order to improve the output power of the yellow light, two means are introduced. One means is optimizing the space overlapping of two fundamental beams by optimized designing of the oscillators, and the other is optimizing the intracavity power ratio of two fundamental beams by choosing proper pump powers of the two beams.