The dash is often used after an independent clause. The hyphen, on the other hand, is used to join two words together like yellow-green. It usually does not have a space between the words. Also, the dash tends to be slightly longer than the hyphen, and usually would have spaces before and after the symbol.