A new class of heterocycles of isoindole fused imidazoles with phenolic subunits has been readily synthesized by a two-step one-pot reaction. In aprotic solvent they show high fluorescent properties (Phi(F) up to 0.93), but in protic polar solvent fluorescent intensity decreases. They show green fluorescence in weak acidic medium such as acetic acid but lack emission in basic medium. The compounds can also stain human squamous epithelium cells.