The complementary color of yellow is blue. Complementary colors are colors that are opposite each other on the color wheel. When complementary colors are placed next to each other, they create a strong contrast and make each other appear more vibrant. This is why complementary colors are often used in art and design.
Blue is a cool color that is associated with peace, tranquility, and calmness. Yellow is a warm color that is associated with happiness, joy, and energy. When these two colors are placed next to each other, they create a striking contrast that can be both visually appealing and emotionally stimulating.
Here is a diagram of the color wheel, with yellow and blue highlighted:
As you can see, yellow and blue are directly opposite each other on the color wheel. This means that they are complementary colors.
I hope this explanation was helpful!