As title says , is it good idea to use same color as primary color and accent color in material design?
NO ! According to Material specs
Don’t use the accent color for app bars or larger areas of color. Avoid using the same color for the floating action button and the background.