<svg width="150" height="150" viewBox="0 0 150 150">
  <radialGradient id="radial"
    cx="%" cy="%" r="%" spreadMethod="">
      <stop offset="0%" style="stop-color: #f96;"/>
      <stop offset="50%" style="stop-color: #9c9;"/>
      <stop offset="100%" style="stop-color: #906;"/>
  </radialGradient>

  <rect x="10" y="10" width="130" height="130"
    style="fill: url(#radial); stroke: black;"/>
  </svg>