Whisk the flour, baking powder, and salt in a medium bowl until evenly combined.
Beat the softened butter and sugar in a large bowl for about 2 minutes, until pale and fluffy.
Beat in the egg, vanilla, and green gel food coloring until the mixture is evenly green.
Add the flour mixture and stir just until no dry streaks remain and a soft dough forms.
Cover the dough and chill it for 30 minutes, until firm enough to roll without sticking.
Heat the oven to 350°F (175°C) and line two baking sheets with parchment paper.
Roll the dough into 24 balls, about 1 tablespoon each, and space them 2 inches apart on the prepared sheets.
Bake one sheet at a time for 9 to 11 minutes, until the edges look set and the centers are still soft.
Press one red heart sprinkle gently into each cookie as soon as it comes out of the oven.
Cool the cookies on the baking sheet for 5 minutes, until firm, then transfer them to a rack to cool completely.