In that case, you might want to check out the options in this link to see if one of them can fix the issue.
https://www.elevenforum.com/t/choose-dark-or-light-mode-for-colors-in-windows-11.555
Disclaimer: ElevenForum is a non-Microsoft site created by a Windows MVP. The information is reliable, but be careful with ads. Research any product before downloading.