The complementary color of #FFFF1F is the color #1F1FFF
The HSL model was used to determine the complementary color