in some order idk
the two nonlinearities involved in (a scalar version of) converting RGB to CIELAB.
f(x)
converts RGB to linear sRGB. g(x)
is used in converting linear sRGB to XYZ.
the black line is the combination of the two, not quite linear.