Are LED dash lights and light bars legal?

Are LED dash lights and light bars legal?