So I have an NSView in which I created some borderless buttons programmatically.
Although I set their backgroundColor property to desired color, they show up like they have a darker shade.

here How I would do it as I mentioned in comment. The custom view is connected as iboutlet and given green color. Label has by default no back ground color. The button has no border and of type Round Rect as you see in screen shot. The blue color around button is the selection/ active control, but you can get rid of that too.
self.testBtn.focusRingType = NSFocusRingTypeNone;
backgroundColorfor the button to white, what do you see? - A ONSColor.clearColor(also selectable in Interface Builder) for the button. Also, make sure that the button's appearance is Aqua, not vibrant. - MrMage