Change flag for text selection color brightness

Let’s say I open a pdf file in “Preview”, then I select some text - in light theme mode, the selected text has the correct brightness (I use yellow as color)

But in dark theme mode, any selected text (selection color yellow : becomes a dark brown) turns unreadable, and I don’t need that.

Most of the time I used non-Apple applications to read pdf or text, so the problem didn’t exist for me
Still, I’m wondering if there’s some flag or setting I can use to my advantage to keep the brightness of selected text in light theme mode the same as in dark theme mode, e. G.
Yellow in light theme mode should be the same yellow as in dark theme mode
The color of selected text in dark theme mode is to low-key