Select By Color lets you select all objects having the same color as the selected object.
Selection is made by wireframe color (see Object Color Dialog), rather than by any materials associated with the objects.
After you choose this command, click any object in the scene to determine the color for the selection set.