How a brand orange survives dark mode
The same orange is too light on white and can be fine on dark. A brand colour often needs two values.
Keeping the hue and lowering only lightness, the smallest change is #C15800: 4.50 on white. Put back on the dark background it drops to 4.16.
So the light theme uses the deepened orange for text and the dark theme keeps the original bright one. Large fills and button backgrounds can keep the original colour, as long as the text on them changes to one with enough contrast.