ΔE 10.5, fair: the same colour family, but not a straight swap. Codex Grey is a little darker, more muted than Dark Earth.
Only where an exact match doesn’t matter, such as a new unit or a highlight. Fair match (ΔE 11). Codex Grey is a little darker, more muted than Dark Earth.
The same difference applies the other way round: Dark Earth is a little lighter, more saturated.
ΔE is the colour difference between our two swatch estimates: under 2 is a perfect match (you’d struggle to tell them apart), under 6 very close, under 10 close, under 15 fair, under 20 loose, under 30 very loose, and 30 or more a poor match. Real paints also differ in finish, coverage and how they thin, so test before you commit.
See Dark Earth on the colour wheel See Codex Grey on the colour wheel
All matches: Dark Earth equivalents · Codex Grey equivalents