Went to Nordic his last year and there was a really nice talk by confrere on how they make text accessible with every colour by using borders and black/white text or not depending on deltas. Here’s the demo https://confrere.com/a11y/test/