The complementary color of #FFFF7F is the color #7F7FFF
The HSL model was used to determine the complementary color