The correct spelling for the informal affirmation of agreement is "okay".
It's possible you were thinking of a different word or phrase, or perhaps a specific context where a different spelling might be used. If you can provide more context or details, I may be able to help you further!