I don't think so. You want black text on a light theme/background.
Functional notation: light-dark(light-color, dark-color)
It's not declaring the relative brightness of the two colours - I agree it could be documented a little less ambiguously with something like `light-theme-color`.