The patties are light yellow and spotted, just like SpongeBob. They are normal Krabby Patties which have gone "stale" and are poisonous to eat. This is what gave them their color. It is unknown if it is holes or dots on their skin.
Role in series
They are accidentally invented when Mr. Krabs wants more room for the SpongeBob-shaped ice cubes as part of the Krusty Sponge restaurant. He thinks they look like SpongeBob and tells Squidward, the new fry cook, to fry them instead of the normal ones. When a Krusty Sponge customer eats one, they become yellow and have a stomach ache. Eventually, an agent catches Mr. Krabs and he goes to court. Spongy Patties are never sold again after this instance.
Mr. Krabs says that the Spongy Patties are Krabby Patties that were left out for awhile. In the episode "Born Again Krabs," another Krabby Patty was left out but it was old and crusty (the color of it was gray), unlike the Spongy Patty. It is possible that the Spongy Patties are more of "poisoned," instead of old and crusty.
Ironically, in that episode, Mr. Krabs himself becomes poisoned by eating it.