We give a precise explicit characterization of rearrangement-invariant spaces that appear in Sobolev imbedding spaces and that cannot be further improved.