\documentclass[dvipdfmx,border=1mm]{standalone}
\usepackage{tikz}
\usepackage{circuitikz}
\begin{document}
\begin{tikzpicture}
\fill[fill=orange](0,-.5)rectangle++(1,1);
\draw[color=white,fill=white](0,0)to[D]++(1,0);
\end{tikzpicture}
\end{document}