This comes from Chinese, where 青 can be both green or blue. Modern Chinese uses 绿 and 蓝 instead to distinguish the two, but Japan continues to use 青 ambiguously: eg aoshingō "blue traffic light" for what we would call a green light.
Vietnamese is from a completely different language family to Chinese, although it's been influenced by Chinese over the centuries.