Not sure, but 치 can be translated to tooth and 약 to medicine. Combining makes tooth-medicine, but i don't know if this is correct.
You're exactly right!
https://koreanhanja.app/齒藥
The link is not working
齒藥
On my toothpaste it is written "yakcho")))