In the bowl of a stand mixer using the paddle attachment, or using an electric hand mixer, add the butter and coconut sugar. Cream together on medium speed for 2 to 3 minutes, scraping the bowl down halfway through, until the mixture is fluffy and a pale tan color. This is essential to getting the right texture for the cookie base.
Scrape down the sides again and add the egg, egg yolk, vanilla extract, and almond extract. Mix on medium for 1 minute until smooth.
Add the almond flour, arrowroot, baking powder, and salt. Mix on low until totally combined and the dough pulls off the sides of the bowl, about 1 minute.
Add the sprinkles and mix to combine.
Transfer the dough to the prepared pan. Use an offset spatula to spread the dough in an even layer. Transfer to the oven and bake on the middle rack for 20 to 22 minutes, or until slightly golden on the edges and a toothpick comes out clean. Allow the cookie base to cool completely before frosting.