iOS Tertiary System Fill
UIColor.tertiarySystemFillComplete technical specification and developer reference for Tertiary System Fill in Apple's iOS & iPadOS design system. In light appearance, it resolves to HEX #7676801E; in dark appearance, it dynamically adapts to HEX #7676803D. Features wide-gamut Display P3 values, UIKit bridge (UIColor.tertiarySystemFill), AppKit bridge (NSColor.tertiarySystemFill), WCAG contrast audit, and Xcode drop-in initializers.
A tertiary fill color for subtle shapes.
ColorUIColor.tertiarySystemFillColor(red: 0.463, green: 0.463, blue: 0.502)Color(red: 0.463, green: 0.463, blue: 0.502, opacity: 0.12)Color(hue: 0.667, saturation: 0.078, brightness: 0.502, opacity: 0.12)Color(.displayP3, red: 0.463, green: 0.463, blue: 0.498, opacity: 0.12)Color(.sRGB, red: 0.463, green: 0.463, blue: 0.502, opacity: 0.12)Color(hex: "#7676801E")#colorLiteral(red: 0.463, green: 0.463, blue: 0.502, alpha: 0.12)Color(uiColor: UIColor(red: 0.463, green: 0.463, blue: 0.502, alpha: 0.12))Technical Color Specifications
Exact resolved HEX codes, sRGB 8-bit components, HSL, and normalized Swift floating-point decimals for Light and Dark modes.
| Color Metric / Space | Light Appearance | Dark Appearance | Swift Code Literal |
|---|---|---|---|
| HEX Code | #7676801E | #7676803D | Color(hex: "#7676801E") |
| sRGB (0–255) | rgba(118, 118, 128, 0.118) | rgba(118, 118, 128, 0.239) | (r: 0.463, g: 0.463, b: 0.502) |
| Display P3 (Wide Gamut) | P3 (0.463, 0.463, 0.498) | P3 (0.463, 0.463, 0.498) | Color(.displayP3, ...) |
| HSL / HSB | hsla(240, 4%, 48%, 0.118) | hsla(240, 4%, 48%, 0.239) | Color(hue:sat:bri:) |
| Platform Bridge | UIKit: UIColor.tertiarySystemFill | AppKit: NSColor.tertiarySystemFill | Color(uiColor:) / Color(nsColor:) |
Light Appearance
#7676801Ergba(118, 118, 128, 0.118)hsla(240, 4%, 48%, 0.118)(r: 0.463, g: 0.463, b: 0.502)Dark Appearance
#7676803Drgba(118, 118, 128, 0.239)hsla(240, 4%, 48%, 0.239)(r: 0.463, g: 0.463, b: 0.502)Drop-In Developer Snippets
Ready-to-paste code blocks for Xcode asset catalogs and Swift files.
Contents.json inside Assets.xcassets/Tertiary System Fill.colorset/{
"colors": [
{
"color": {
"color-space": "srgb",
"components": {
"red": "0.463",
"green": "0.463",
"blue": "0.502",
"alpha": "0.118"
}
},
"idiom": "universal"
},
{
"appearances": [
{
"appearance": "luminosity",
"value": "dark"
}
],
"color": {
"color-space": "srgb",
"components": {
"red": "0.463",
"green": "0.463",
"blue": "0.502",
"alpha": "0.239"
}
},
"idiom": "universal"
}
],
"info": {
"author": "xcode",
"version": 1
}
}Live UI Component Sandbox
Preview Color.tertiary system fill inside standard Apple interface components.
●SwiftUI Notification
Just nowDemonstrates how Apple designers pair system background tints with dynamic Tertiary System Fill accents.
.foregroundStyle(UIColor.tertiarySystemFill)
Platform Implementation Snippets
Ready-to-use Swift code for SwiftUI, UIKit, and AppKit applications.
// UIKit (iOS, tvOS, watchOS)
let view = UIView()
view.backgroundColor = UIColor.tertiarySystemFill
// Label Tinting
let label = UILabel()
label.textColor = UIColor.tertiarySystemFill
// Bridging UIKit into SwiftUI
let swiftUIColor = Color(uiColor: .tertiarySystemFill)WCAG 2.1 Accessibility Contrast Audit
Contrast calculations of Tertiary System Fill against pure white and iOS OLED dark surfaces.
Recommended HIG Use Cases
- Slider tracks, stepper backgrounds, and progress bars
- Input fields, search bar backdrops, and tag pills
- Selected row overlays and subtle container wells
Anti-Patterns to Avoid
- Primary body text and headlines
- Primary call-to-action button fills
Browse More iOS & iPadOS Colors
Quickly jump to other Apple system colors and semantic tokens.
Frequently Asked Questions
How do I use UIColor.tertiarySystemFill in iOS and iPadOS apps?
In UIKit, assign UIColor.tertiarySystemFill directly to properties like view.backgroundColor, label.textColor, or tintColor. In SwiftUI, bridge it using Color(uiColor: .tertiarySystemFill).
What is the HEX code for iOS Tertiary System Fill in light and dark mode?
In light appearance, Tertiary System Fill resolves to #7676801E. In dark appearance, it automatically adapts to #7676803D.
How do I bridge UIColor.tertiarySystemFill into SwiftUI?
In SwiftUI views on iOS 15+, initialize Color(uiColor: .tertiarySystemFill) to utilize this system color with full appearance dynamism.
Does Tertiary System Fill adapt automatically to dark appearance in iOS?
Yes, UIColor.tertiarySystemFill is an appearance-aware dynamic UIColor that automatically responds to UITraitCollection changes between light and dark appearances.
Why use UIKit system colors instead of hardcoded hex values?
System colors dynamically adapt to Dark Mode, Accessibility Increase Contrast mode, and future iOS visual refinements without manual color bookkeeping.