<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIColor/systemGray5",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIColor(cpy)systemGray5Color"
  },
  "title" : "systemGray5"
}
-->

# systemGray5

A fifth-level shade of gray that adapts to the environment.

```
class var systemGray5: UIColor { get }
```

## Discussion

This color adapts to the current environment. In light environments, this gray is slightly lighter than [`systemGray4`](/documentation/UIKit/UIColor/systemGray4). In dark environments, this gray is slightly darker than [`systemGray4`](/documentation/UIKit/UIColor/systemGray4).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)