The complementary color of #FFFF51 is the color #5151FF
The HSL model was used to determine the complementary color