We present a novel approach for convenient tuning of the local refractive index around nanostructures. We apply this technique to study the influence of the local refractive index on the radiative decay time of CdSe/ZnS quantum dots with three distinct emission wavelengths. The dependence of the luminescence decay time on the environment is well described by an effective medium approach. A critical distance of about 80 nm is found for the determination of the effective local index of refraction. An estimation for the emitting-state quantum efficiency can be extracted.