TMI What would cause this?

Im sorry this is gross but what would cause a thick colored discharge such as this?