The type of context clue that gives us the opposite of the unknown word’s meaning is called a contrast clue.
Synonyms are words that have the same meaning. Homonyms are words that are spelled the same but have different meanings. A substitution clue refers to a clue that could be interchanged with the unknown word.