Bring the milk with the split vanilla bean to the boil. Do not boil further. If the bean is not to be used, add the vanilla extract later. Remove the vanilla bean, if used, rinse it off, dry it, and reserve for subsequent use.
Place the yolks in a saucepan and add the sugar. Beat with a wire whisk until thick and lemon-colored.