Forgot To Take Out Tampon

I thought I took out my tampon last night, but I ended up sleeping in it. I probably had it in me for 16 hours total.  It wasn't fully filled because my period isn't that heavy, but I've never left a tampon in longer than 7 hours. Will I be ok?