It can also be a consonant sound called a "glide" as in the beginning of these words: "yellow", "yacht", "yam", "yesterday". Y is a consonant about 2.5% of the time, and a vowel about 97.5% of the time.