Preheat the oven to 350°F (175°C) and line two baking sheets with parchment.
Whisk the flour, baking soda, baking powder, and salt in a bowl.
Beat the butter and sugar for 2 to 3 minutes until pale and fluffy.
Beat in the egg, egg yolk, and vanilla until smooth.
Add the dry ingredients on low speed until just combined.
Divide the dough into three bowls and tint with gel food coloring.
Chill the dough for 30 minutes.
Roll the dough into 1½-inch balls and coat in sprinkles.
Place on baking sheets 2 inches apart.
Bake for 10 to 11 minutes until the edges set.
Press a candy eye onto each warm cookie.
Cool on the pan for 5 minutes, then transfer to a wire rack.