if it was a common brown tick often seen on dogs you are likely fine as long as you washed your hands. a deer tick (smaller) can cause lyme disease if the tick actually bit you and attached but no if you just picked it up from the floor. yes there is a high "yuck factor" but the chance of you picking up a illness from this act would be remote.
are there any diseases i can get from touching a tick? a tick fell off my dog. i picked it up not knowing what it was.