Rainbow Cookie Recipe: Three-Layer Almond Cake
In this article
These rainbow cookies are a dense, almond-flavored three-layer cake with a thin chocolate coating and a raspberry or apricot jam filling. The layers are baked separately, stacked with jam, pressed overnight, then sliced and dipped in chocolate for a clean, bakery-style finish.
Pick the Pan and Prep the Almond Paste
Use three 8-inch (20 cm) square baking pans so each layer is about 1/2 inch (1.25 cm) thick. If you have only one pan, bake the layers one at a time, letting the pan cool between batches. Almond paste is the backbone of the flavor; it is sold in 7-ounce (200 g) tubes or cans. If you have a block, grate it before mixing so it blends evenly.
Ingredients
- 1 cup (226 g) unsalted butter, softened
- 1 1/2 cups (300 g) granulated sugar
- 2 large eggs, room temperature
- 1 tube (7 oz / 200 g) almond paste, grated
- 2 cups (250 g) all-purpose flour
- 1/2 teaspoon salt
- 1/2 cup (120 ml) milk, room temperature
- Red and green gel food coloring
- 1/2 cup (160 g) seedless raspberry jam or apricot jam
- 8 oz (225 g) semisweet chocolate, chopped
- 2 tablespoons (30 g) unsalted butter for the glaze
Bake the Three Layers
- Preheat the oven to 350°F (175°C). Line three 8-inch (20 cm) square pans with parchment paper, leaving overhang on two sides.
- In a large bowl, beat the butter and sugar until light and fluffy, about 3 minutes. Add the eggs one at a time, beating well after each. Add the grated almond paste and mix until fully incorporated, scraping the bowl.
- In a separate bowl, whisk the flour and salt. Add the flour mixture to the butter mixture alternately with the milk, starting and ending with flour. Mix just until smooth.
- Divide the batter evenly into three bowls. Tint one bowl with red coloring, one with green, and leave the third plain (yellow). Use enough coloring to reach a vibrant shade; the color deepens slightly as it bakes.
- Spread each batter into a prepared pan, smoothing the tops. Bake for 12–15 minutes, until the edges are set and a toothpick inserted in the center comes out clean. Cool in the pans for 10 minutes, then lift out and cool completely on a wire rack.
Stack, Press, and Chill the Layers
- Place the green layer on a flat tray or baking sheet. Spread half the jam over it. Top with the plain yellow layer and spread with the remaining jam. Place the red layer on top.
- Wrap the stacked layers tightly in plastic wrap. Place a second baking sheet or a heavy cutting board on top and weigh it down with a few cans or a heavy pot. Refrigerate for at least 4 hours, or overnight, so the layers fuse and the cake becomes firm enough to slice cleanly.
- After chilling, unwrap and trim the edges with a sharp knife to make straight sides.
Slice and Coat with Chocolate
- Cut the chilled cake into 1-inch (2.5 cm) wide strips, then slice each strip into 1-inch squares. Keep the squares refrigerated while you melt the chocolate.
- Melt the chocolate and 2 tablespoons butter in a double boiler or in a microwave in 30-second bursts, stirring until smooth. Cool to about 90°F (32°C) so it thickens slightly.
- Using a fork or tongs, dip each square into the chocolate, coating all sides. Let the excess drip off, then place on a parchment-lined tray. Refrigerate until the chocolate sets, about 30 minutes.
Store and Serve the Cookies
Keep the cookies in an airtight container in the refrigerator for up to 2 weeks; they also freeze well for up to 3 months—layer between parchment to prevent sticking. Serve chilled or at room temperature. They pair with coffee or tea, and they hold up well on a holiday cookie platter. For a softer texture, let them sit at room temperature for 15 minutes before serving.
Substitutions and Adjustments
- Almond paste: If you have only almond flour, use 1 1/2 cups (150 g) plus 1/4 cup (60 ml) almond extract, but the texture will be slightly drier—add 2 tablespoons (30 ml) extra milk.
- Jam: Raspberry is classic; apricot or strawberry also work. Use a seedless variety for a smooth layer.
- Chocolate: Use milk chocolate for a sweeter finish, or dark chocolate for less sweetness. White chocolate also works but is softer at room temperature.
- Gluten-free: Substitute the all-purpose flour with a 1:1 gluten-free flour blend; the layers will be a bit more tender, so chill longer before slicing.
Serves 24 · Prep 30 min · Cook 15 min · Total 5 hr 15 min