Green/yellow discharge

Olivia
Is it normal?? I have a lot of it. I have had severe pelvic pain and I had PID a few months ago and my pain has never really went away even after antibiotics. What causes yellow discharge?