Is it ok to mix black with other bright colors in the UI?

I'm a UI developer at a small organization.

I've been developing an application and I chose orange, black and white as the predominant colors in the palette. You can see the attached image to get an idea.

Logo at the left top changed for the sake of anonimity

Today I was told by my boss, who has many years of industry experience as a Business Analyst, that typically it is inadvisable to use black in the color scheme. I asked why, and he said its just a general convention. I pointed out that a lot of big products use black predominantly. He said that yes, they have a dark mode and that makes sense but to mix black with bright colors is inadvisable. It should either be all light/bright colors or predominantly black, is what he told me.

This is the first time I'm hearing of something like this and personally it doesn't make much sense to me, but I told him I'll research this up. I chose these colors you see in the screenshot because I wanted the orange to pop out and black was the only color for the sidebar that managed to go well with orange.

He's told that I should look into changing the blacks in the sidebar and the table headers.

I would like to know if this is actually a thing or just a matter of personal preference. Is there any resource for me to learn more about this? I'm looking for alternate points of view.