As of Mohave, there are color options for accent and highlight colors on the General pane of System Preferences. How do I reference these colors in Cocoa using Swift?
https://developer.apple.com/documentation/appkit/nscolor/ui_element_colors
Towards the bottom in the "Control Colors" group you'll find controlAccentColor and controlColor.
These are class methods on NSColor.