You will only get yellow tags when there is a F cabin. On a two class flight, you'll get tags appropriate to the highest class on offer (ie Business or First).
This is not always so..in several cases where I have had a domestic connecting flight prior to a 2-class international, I have still had First tags on my bags.