Possibly bacteria vaginosis which in most cases does cause preterm delivery
It could be your mucous plug coming away don't worry if that's the case. You lose bits that re form. But if its green I would get tested. Green indicates infections like ktowne said. If its not an infection is probably your mucous plug. But you do need a check up as infections can be bad for both you and baby. Good luck x
Sometimes I have a yellowish discharge but the one I'm worried about is a light green
A very light green. Yes like jelly
Is it yellowy or definitely green.? And is it like jelly?
Definitely sounds like an infection, get it checked into because they cause preterm labor a LOT of the time!! Good luck!