For the sugar syrup, combine all the ingredients in a saucepan and bring to boil.
Let cool.
For the brown layer, combine the sago and rice flour in a bowl. Make a well and pour in the coconut cream and the sugar syrup. Stir well to remove any clumps.
For the green layer, combine the coconut milk, sugar and knotted pandan leaves in a small sa