Source - accent colours not accessible

Hi there

I would like to change my accent colour to a light shade and would expect the font to change colour to an accessible contrast. However the font stays white.

Is there a code I can add to make this work?

Thanks