Mucus after using the bathroom ...tcc

Went to the bathroom and when I got up there was what looked like yellow/ green mucus in the toilet about the size of a nickel. Does anybody know what this could be / mean?