The complementary color of #CFCF00 is the color #0000CF
The HSL model was used to determine the complementary color