Here's why:
* Sound: The "y" in "mighty" makes a consonant sound, similar to the "j" in "judge".
* Position: It comes at the beginning of a syllable, which is another characteristic of consonants.
While "y" can sometimes act as a vowel, like in "fly" or "my", its role in "mighty" is clearly that of a consonant.