In a blender, extract pandan juice by blending pandan leaves with 2 Tablespoons of water. Strain, reserving liquid.
Whisk together pandan juice, egg yollks, coconut milk, and sugar.
Run the mixture through a sieve to ensure smoothness.
Cook in a pot over low heat, stirring constantly to prevent it from clotting, for about 20 to 25 minutes or till it becomes a thick spreadable paste.
Making Pandan Juice:
To make a larger amount of pandan juice, blend 4 pandan leaves with 180ml water and squeeze through cheesecloth. You should be left with about 125ml of pandan juice. You will only use 2 tablespoons pandan juice, reserve the rest for another recipe.