Preheat oven to 350 degrees F. Line cookie sheet with parchment paper or silicone baking mat.
In the bowl of a stand mixer using the paddle attachment, cream the butter and sugar together on medium speed until light and fluffy, about 3 minutes. Add the egg yolks, vanilla extract, and almond extract and beat until well combined for about a minute, scraping sides as needed. In a separate bowl, combine flour, baking powder, and salt. Mix into butter mixture until a dough forms. You may need to do the final mixing by hand as the dough will be thick.
Roll dough into teaspoon sized balls and then roll dough balls in the sprinkles. Cookies will spread thin as they cook so make sure they're spread about 2 inches a part. Bake in preheated oven for 9-11 minutes and remove when set but not yet turning brown.
Allow cookies to remain on hot baking sheet for a couple of minutes and then transfer to wire cooling rack. Store in airtight container.
Video
Notes
* For the photos, I used ultra fine sugar and cake flour. For the video, I used regular granulated sugar and all purpose flour. Both worked and tasted great, but the photo batch turned out flatter. I was also using a different oven though. Bottom line - either option works.