2025 should be the year you stop using WCAG 2 colour contrast testing, and switch to APCA. This article is a few years old, and covers everything well. https://blog.datawrapper.de/color-contrast-check-data-vis-wcag-apca/
It's time for a more sophisticated color contrast check for data visualizations - Datawrapper Blog

The WCAG contrast requirements are flawed. Here's what a new approach could mean for data visualizations.

Datawrapper Blog
@marcedwards unfortunately orgs being held to (or going for) wcag AA don’t have a choice.
@nesevis Organisations that aren’t required by law to do it, should reassess if WCAG 2 is actually helping.
@marcedwards @nesevis I don't like being all doom and gloom, but, honnestly, at least in Europe, orgs that are not legally obliged to be accessible mostly don't know / don't care about accessibility, I doubt they know there's 2 algorithms.
So I would go for use the WCAG to be on the safe side, laws change, test with users, and let's see what WCAG 3 brings. Who knows, maybe something better than APCA that is peer reviewed and tested.
@stephaniewalter @nesevis I think you’re right, and I don’t even think many accessibility experts know about APCA yet. I really do hope WCAG 3 has improvements with contrast testing, be it APCA or something else new. I just worry that WCAG 2 is so bad that it’s causing harm in some cases. Whatever is chosen for WCAG 3 will be added immediately to Pinwheel.