Several versions ago the icon used to be the standard yellow, but at some point it changed to being black. I don't use dark mode (so assuming that it thinks I have a light screen), however I do have a dark background image which shows through the taskbar.
(Full updated Windows 10 pro, DOpus 12.24)