Several known bacterial pigments are; green fluorescent pigment "Fluorescein/Pyoverdin", blue pigment "Pyocyanin", red pigment “Prodigiosin", multiple carotenoid pigments and Staphyloxanthin gives golden/yellow colour, blue-violet pigment "Violacein", "Granadaene" orange-red pigment, and black pigment is due to "micro-oxo bis-haem".
"Staphyloxanthin is a carotenoid pigment that is produced by some strains of Staphylococcus aureus, and is responsible for the characteristic golden color that gives S. aureus its species name"
"Altering the Ratio of Phenazines in Pseudomonas chlororaphis (aureofaciens) Strain 30-84: Effects on Biofilm Formation and Pathogen Inhibition"
"An unusual yellow pigmented Pseudomonas species isolated from chlorinated municipal town water supply."
I know that one of the strains used in this method produces a yellow pigment when exposed to oxygen, but I couldn't quickly find the supporting paper I was thinking of. "A Bacterial Method for the Nitrogen Isotopic Analysis of Nitrate in Seawater and Freshwater"