A yellow cape can be obtained by using yellow dye on a regular cape which can be obtained by killing a Highwayman. Dyeing a cape yellow requires a crafting level of 1, and grants the player 2.5 xp in crafting. It can also be bought from the Fancy Clothes Store in gated varrock if you are a member.