Preheat the oven to 350°F and stir the graham cracker crumbs, melted butter and 2 tablespoons sugar together until the mixture looks like wet sand.
Press the crumbs firmly into the bottom and up the sides of a 9-inch tart pan with a removable bottom, using the back of a spoon.
Bake the crust for 10 minutes, until set and lightly golden, then cool completely on a rack.
Whisk the coconut milk, whole milk, 1/2 cup sugar, cornstarch and salt together in a saucepan until smooth.
Cook over medium heat, whisking constantly, until the mixture thickens and large bubbles break the surface, about 6 to 8 minutes.
Whisk the egg yolks in a separate bowl, then temper them with a ladle of the hot mixture before stirring them back into the pan; cook 2 more minutes, until the filling coats the back of a spoon thickly.
Remove from the heat, stir in the butter and vanilla, then pour the filling into the cooled tart crust.
Press plastic wrap onto the surface and refrigerate for at least 4 hours, until the filling is fully set and no longer wobbles in the center.
Whip the heavy cream with the powdered sugar to soft peaks and spread over the chilled tart, leaving a border of filling visible at the edge.
Scatter the toasted coconut flakes thickly over the cream just before serving.
Good to Know
Bake the crust and the filling a day ahead; add the whipped cream and toasted coconut only an hour or two before the party so the topping stays crisp.