01 - Preheat oven to 350°F. Line a 9x13-inch baking pan with parchment paper, leaving an overhang on two sides for easy removal.
02 - In a medium bowl, whisk together the all-purpose flour, baking powder, and salt. Set aside.
03 - In a large bowl, beat the softened butter and granulated sugar with an electric mixer until light and fluffy, approximately 2 to 3 minutes.
04 - Add the egg, egg yolk, and vanilla extract to the butter mixture. Beat until fully incorporated and smooth.
05 - With the mixer on low speed, alternately add the flour mixture and milk, beginning and ending with the flour. Mix until just combined and avoid overmixing.
06 - Spread the dough evenly into the prepared baking pan and smooth the top with an offset spatula. Bake for 18 to 22 minutes until edges are lightly golden and a toothpick inserted in the center comes out with moist crumbs. Do not overbake.
07 - Allow the bars to cool completely in the pan set on a wire cooling rack.
08 - Beat the softened butter until creamy. Gradually add powdered sugar, milk, and vanilla extract, beating until light and fluffy. Tint with food coloring if desired.
09 - Spread the frosting evenly over the cooled bars and top with sprinkles if using. Lift the bars from the pan using the parchment overhang, cut into squares, and serve.