I found out
Why testing dark mode in dark environments matters
Colours and contrast behave very differently in low-light environments. Some shades that appear dark enough during the day can look completely different in real darkness, so testing in true dark conditions is essential for maintaining legibility, comfort and accessibility.