Preheat oven to 350°F (175°C) and position a rack in the center. Grease two 9-inch round cake pans with butter or baking spray, line bottoms with parchment paper, grease the paper, and dust lightly with flour.
In a medium bowl, whisk together the flour, baking powder, and salt until evenly distributed. Set aside.
Zest lemons into a small bowl, then juice them. You'll need 1 tbsp zest and 3 tbsp juice for the batter, plus extra for the frosting. Always zest before juicing.
In a stand mixer fitted with the paddle attachment, beat softened butter on medium speed for 2 minutes until fluffy. Gradually add sugar and beat on medium-high for 3-4 minutes until pale and airy.
Reduce speed to low and add eggs one at a time, mixing until each is fully incorporated. Add lemon zest and vanilla, mixing for 30 seconds until combined.
With mixer on low, add one-third of the flour mixture and mix until it begins to disappear. Add half the buttermilk and the lemon juice, mix briefly, then repeat with another third of flour and remaining buttermilk. Finish with remaining flour and mix just until smooth.
Divide batter evenly between prepared pans and smooth tops. Bake on center rack for 30-35 minutes until golden and a toothpick comes out clean.
Let cakes cool in pans on wire racks for 15 minutes. Run a knife around the edges, turn out onto racks, peel off parchment, and cool completely (1-2 hours) before frosting.
In a clean mixer bowl, beat softened butter on medium speed for 2-3 minutes until pale and fluffy. Gradually add sifted powdered sugar, then lemon juice, zest, and salt. Beat on medium-high for 2-3 minutes until light and fluffy.
Place one cooled cake layer on a serving plate or turntable. Spread a generous layer of buttercream on top. Add the second layer, flat-side down. Apply a thin crumb coat all over, refrigerate for 20-30 minutes, then apply final frosting layer. Garnish as desired.