A chromone-based ratiometric fluorescent probe L2 was developed for the selective detection of Hg(II) in a semi-aqueous solution based on aggregation-induced emission (AIE) and chelation-enhanced fluorescence (CHEF) effect. The probe L2 fluoresced significantly at 498&#
x202f;nm in its aggregated state, and when chelated with Hg(II), the soluble state fluoresced 1-fold higher. In addition, Job's plot reveals that the probe forms a 1:1 stoichiometry complex with Hg(II) with an association constant of 9.1&#
x202f;&#
xd7;&#
x202f;10<sup>3</sup>M<sup>-1</sup> estimated by the BH plot. The probe L2 detects Hg(II) down to 22.47&#
x202f;nM without interference from other interfering ions. The FTIR, ESI mass, and DFT-based computational studies investigated the binding mechanism of probe L2 with Hg(II). Taking advantage of its AIE characteristics, the probe L2 was successfully applied for bio-capability analysis in Caenorhabditis elegans (a nematode worm) imaging of Hg(II) in a living model.