def _lab_transform(t):
	"""
	Returns the cube root tranformation function from xyz color space to
	lab color space.
	"""
	if t > 216. / 24389.:
		return t ** (1. / 3.)
	return 841. / 108. * t + 4. / 29.