You can apply stars and bars assuming no constraints at first, and subtract those combos that have more than $3$ yellow (by pre-selecting $4$ yellow, and selecting the balance $6$ from any color)
thus $\binom{10+3-1}{3-1} - \binom{6+3-1}{3-1}$
You can apply stars and bars assuming no constraints at first, and subtract those combos that have more than $3$ yellow (by pre-selecting $4$ yellow, and selecting the balance $6$ from any color)
thus $\binom{10+3-1}{3-1} - \binom{6+3-1}{3-1}$