It seems instead of 令 the usually named component is 亼 together with 厶 in characters such as 冷, 零, 拎,邻 which doesn’t fit that well. There are at least 13 different HSK Hanzi containing this character so it would make sense to have it as its own component.
Similar case with 青 but not as extreme since 月 + 丰 is a better representation of 青 than 亼 + 厶 for 令.