Yellow Xanax is a term commonly used to describe certain yellow-colored tablets containing alprazolam, a prescription medication in the benzodiazepine class. Alprazolam is used to treat certain anxiety and panic disorders under the supervision of a licensed healthcare provider. Because it is a controlled medication in many countries, it should only be obtained and used through legal, medically appropriate channels.