We report 1.2, 1.6, 2.2 and 3.6 μm slit scan observations of the young low-luminosity stars Elias 22 (also known as GSS 31) in the Rho Ophiuchus dark cloud and Glass I in the Chamaeleon dark cloud. We discovered an infrared companion to Elias 22 at a projected separation of 2.0 arcsec (320 AU) and an optical/infrared companion to Glass I at a projected separation of 2.9 arcsec (410 AU). The companion of Elias 22 is a very cool optically almost invisible object (~1000 K) less luminous than the primary, while the companion to Glass I is an optically visible late-type star with an infrared excess so large that it is actually bolometrically brighter than the primary. In both cases the infrared excess is likely to be due to hot circumstellar dust grains heated by a central young star (much more obscured in the case of Elias 22 than in the case of Glass I). We outline a new method to determine the mass ratio of such systems assuming that both components lie on an isochrone in the H-R diagram. If the companions are in a bound orbit, the estimated specific angular momentum exceeds or is of the order of 1021 cm2 s−1, only one order of magnitude larger than that of the Sun-Jupiter system.