Color
Reflects a product's style, creates hierarchy, and provides meaning to components and messages.
Base
Token
CSS Variable
Value
Preview
$color-gray-0
--sl-color-gray-0
#FFFFFF
$color-gray-1
--sl-color-gray-1
#F5F5F5
$color-gray-2
--sl-color-gray-2
#EBEBEB
$color-gray-3
--sl-color-gray-3
#E0E0E0
$color-gray-4
--sl-color-gray-4
#D6D6D6
$color-gray-5
--sl-color-gray-5
#C2C2C2
$color-gray-6
--sl-color-gray-6
#ADADAD
$color-gray-7
--sl-color-gray-7
#999999
$color-gray-8
--sl-color-gray-8
#858585
$color-gray-9
--sl-color-gray-9
#707070
$color-gray-10
--sl-color-gray-10
#5C5C5C
$color-gray-11
--sl-color-gray-11
#3D3D3D
$color-gray-12
--sl-color-gray-12
#1F1F1F
$color-gray-13
--sl-color-gray-13
#000000
$color-red-1
--sl-color-red-1
#FDF6F5
$color-red-2
--sl-color-red-2
#FFEDEA
$color-red-3
--sl-color-red-3
#FFDFD9
$color-red-4
--sl-color-red-4
#FFD0C7
$color-red-5
--sl-color-red-5
#FFBBAD
$color-red-6
--sl-color-red-6
#FF9E8B
$color-red-7
--sl-color-red-7
#FF7F68
$color-red-8
--sl-color-red-8
#F95D47
$color-red-9
--sl-color-red-9
#EC3727
$color-red-10
--sl-color-red-10
#D31A15
$color-red-11
--sl-color-red-11
#B40202
$color-red-12
--sl-color-red-12
#940303
$color-red-13
--sl-color-red-13
#720000
$color-orange-1
--sl-color-orange-1
#FDF5E9
$color-orange-2
--sl-color-orange-2
#FFEDCD
$color-orange-3
--sl-color-orange-3
#FFE0AE
$color-orange-4
--sl-color-orange-4
#FED392
$color-orange-5
--sl-color-orange-5
#FEBC64
$color-orange-6
--sl-color-orange-6
#FFA138
$color-orange-7
--sl-color-orange-7
#F78612
$color-orange-8
--sl-color-orange-8
#E57001
$color-orange-9
--sl-color-orange-9
#CC5E01
$color-orange-10
--sl-color-orange-10
#B24D01
$color-orange-11
--sl-color-orange-11
#963E01
$color-orange-12
--sl-color-orange-12
#7B3001
$color-orange-13
--sl-color-orange-13
#622401
$color-yellow-1
--sl-color-yellow-1
#FBF7D4
$color-yellow-2
--sl-color-yellow-2
#FDF5AD
$color-yellow-3
--sl-color-yellow-3
#FAEC6D
$color-yellow-4
--sl-color-yellow-4
#FADE1E
$color-yellow-5
--sl-color-yellow-5
#E9C701
$color-yellow-6
--sl-color-yellow-6
#D8B401
$color-yellow-7
--sl-color-yellow-7
#C5A001
$color-yellow-8
--sl-color-yellow-8
#B18D01
$color-yellow-9
--sl-color-yellow-9
#9C7901
$color-yellow-10
--sl-color-yellow-10
#866701
$color-yellow-11
--sl-color-yellow-11
#715401
$color-yellow-12
--sl-color-yellow-12
#5C4401
$color-yellow-13
--sl-color-yellow-13
#493401
$color-green-1
--sl-color-green-1
#EDFDF5
$color-green-2
--sl-color-green-2
#CFF9E1
$color-green-3
--sl-color-green-3
#AEF5CF
$color-green-4
--sl-color-green-4
#8AEDBD
$color-green-5
--sl-color-green-5
#68DFA9
$color-green-6
--sl-color-green-6
#4ACD94
$color-green-7
--sl-color-green-7
#2FB980
$color-green-8
--sl-color-green-8
#16A56F
$color-green-9
--sl-color-green-9
#01905F
$color-green-10
--sl-color-green-10
#017B4E
$color-green-11
--sl-color-green-11
#01663F
$color-green-12
--sl-color-green-12
#015132
$color-green-13
--sl-color-green-13
#064028
$color-teal-1
--sl-color-teal-1
#E9FAF8
$color-teal-2
--sl-color-teal-2
#CFF8F4
$color-teal-3
--sl-color-teal-3
#ABF2EB
$color-teal-4
--sl-color-teal-4
#8DEAE3
$color-teal-5
--sl-color-teal-5
#66DBD3
$color-teal-6
--sl-color-teal-6
#40CAC2
$color-teal-7
--sl-color-teal-7
#10B6AF
$color-teal-8
--sl-color-teal-8
#01A29B
$color-teal-9
--sl-color-teal-9
#018D88
$color-teal-10
--sl-color-teal-10
#017873
$color-teal-11
--sl-color-teal-11
#016460
$color-teal-12
--sl-color-teal-12
#0D504D
$color-teal-13
--sl-color-teal-13
#133D3B
$color-blue-1
--sl-color-blue-1
#F1F8FD
$color-blue-2
--sl-color-blue-2
#E1F3FF
$color-blue-3
--sl-color-blue-3
#CBE9FF
$color-blue-4
--sl-color-blue-4
#B6DFFF
$color-blue-5
--sl-color-blue-5
#97CFFE
$color-blue-6
--sl-color-blue-6
#79BCFB
$color-blue-7
--sl-color-blue-7
#5AA8F7
$color-blue-8
--sl-color-blue-8
#3993F4
$color-blue-9
--sl-color-blue-9
#157BF4
$color-blue-10
--sl-color-blue-10
#0366DD
$color-blue-11
--sl-color-blue-11
#0155B7
$color-blue-12
--sl-color-blue-12
#014592
$color-blue-13
--sl-color-blue-13
#013672
$color-purple-1
--sl-color-purple-1
#F9F5FD
$color-purple-2
--sl-color-purple-2
#F5EAFE
$color-purple-3
--sl-color-purple-3
#EDDCFE
$color-purple-4
--sl-color-purple-4
#E5CFFE
$color-purple-5
--sl-color-purple-5
#DABAFD
$color-purple-6
--sl-color-purple-6
#CBA3FC
$color-purple-7
--sl-color-purple-7
#BC8AFB
$color-purple-8
--sl-color-purple-8
#AD71F8
$color-purple-9
--sl-color-purple-9
#9C56F3
$color-purple-10
--sl-color-purple-10
#883CE6
$color-purple-11
--sl-color-purple-11
#7225D2
$color-purple-12
--sl-color-purple-12
#5C12B6
$color-purple-13
--sl-color-purple-13
#460B93
$color-pink-1
--sl-color-pink-1
#FDF5F7
$color-pink-2
--sl-color-pink-2
#FFEBF2
$color-pink-3
--sl-color-pink-3
#FFDFEB
$color-pink-4
--sl-color-pink-4
#FFC8DC
$color-pink-5
--sl-color-pink-5
#FEB2CD
$color-pink-6
--sl-color-pink-6
#FF98BF
$color-pink-7
--sl-color-pink-7
#FE78AC
$color-pink-8
--sl-color-pink-8
#EF5997
$color-pink-9
--sl-color-pink-9
#DE387F
$color-pink-10
--sl-color-pink-10
#CA226A
$color-pink-11
--sl-color-pink-11
#AF0956
$color-pink-12
--sl-color-pink-12
#8F0246
$color-pink-13
--sl-color-pink-13
#74043B
$color-cyan-1
--sl-color-cyan-1
#E6FAFD
$color-cyan-2
--sl-color-cyan-2
#C6F9FF
$color-cyan-3
--sl-color-cyan-3
#A5F1FF
$color-cyan-4
--sl-color-cyan-4
#89E8FB
$color-cyan-5
--sl-color-cyan-5
#61D9F4
$color-cyan-6
--sl-color-cyan-6
#34C6E9
$color-cyan-7
--sl-color-cyan-7
#13B1DB
$color-cyan-8
--sl-color-cyan-8
#029DC9
$color-cyan-9
--sl-color-cyan-9
#0187B5
$color-cyan-10
--sl-color-cyan-10
#0172A0
$color-cyan-11
--sl-color-cyan-11
#015E8A
$color-cyan-12
--sl-color-cyan-12
#014B74
$color-cyan-13
--sl-color-cyan-13
#013A5E
Background
Token
CSS Variable
Value
Preview
$bg
--sl-bg
var(--sl-color-gray-0)
$bg-disabled
--sl-bg-disabled
color-mix(in srgb, var(--sl-color-gray-12) 5%, transparent)
$bg-warning
--sl-bg-warning
var(--sl-color-yellow-1)
$bg-success
--sl-bg-success
var(--sl-color-green-1)
$bg-informational
--sl-bg-informational
var(--sl-color-blue-1)
$bg-strong
--sl-bg-strong
var(--sl-color-gray-3)
$bg-strong-disabled
--sl-bg-strong-disabled
var(--sl-color-gray-6)
$bg-plain
--sl-bg-plain
color-mix(in srgb, var(--sl-color-gray-12) 0%, transparent)
$bg-plain-hover
--sl-bg-plain-hover
color-mix(in srgb, var(--sl-color-gray-12) 5%, transparent)
$bg-plain-pressed
--sl-bg-plain-pressed
color-mix(in srgb, var(--sl-color-gray-12) 10%, transparent)
$bg-inverted
--sl-bg-inverted
var(--sl-color-gray-12)
$bg-inverted-plain
--sl-bg-inverted-plain
color-mix(in srgb, var(--sl-color-gray-12) 50%, transparent)
$bg-muted
--sl-bg-muted
var(--sl-color-gray-1)
$bg-muted-hover
--sl-bg-muted-hover
var(--sl-color-gray-2)
$bg-muted-pressed
--sl-bg-muted-pressed
var(--sl-color-gray-3)
$bg-muted-plain
--sl-bg-muted-plain
color-mix(in srgb, var(--sl-color-gray-12) 5%, transparent)
$bg-muted-plain-hover
--sl-bg-muted-plain-hover
color-mix(in srgb, var(--sl-color-gray-12) 10%, transparent)
$bg-muted-plain-pressed
--sl-bg-muted-plain-pressed
color-mix(in srgb, var(--sl-color-gray-12) 15%, transparent)
$bg-accent
--sl-bg-accent
var(--sl-color-blue-2)
$bg-accent-hover
--sl-bg-accent-hover
var(--sl-color-blue-3)
$bg-accent-pressed
--sl-bg-accent-pressed
var(--sl-color-blue-4)
$bg-accent-plain
--sl-bg-accent-plain
color-mix(in srgb, var(--sl-color-blue-10) 0%, transparent)
$bg-accent-plain-hover
--sl-bg-accent-plain-hover
color-mix(in srgb, var(--sl-color-blue-10) 5%, transparent)
$bg-accent-plain-pressed
--sl-bg-accent-plain-pressed
color-mix(in srgb, var(--sl-color-blue-10) 10%, transparent)
$bg-accent-strong
--sl-bg-accent-strong
var(--sl-color-blue-10)
$bg-accent-strong-hover
--sl-bg-accent-strong-hover
var(--sl-color-blue-11)
$bg-accent-strong-pressed
--sl-bg-accent-strong-pressed
var(--sl-color-blue-12)
$bg-critical
--sl-bg-critical
var(--sl-color-red-1)
$bg-critical-plain
--sl-bg-critical-plain
color-mix(in srgb, var(--sl-color-red-9) 0%, transparent)
$bg-critical-plain-hover
--sl-bg-critical-plain-hover
color-mix(in srgb, var(--sl-color-red-9) 5%, transparent)
$bg-critical-plain-pressed
--sl-bg-critical-plain-pressed
color-mix(in srgb, var(--sl-color-red-9) 10%, transparent)
$bg-critical-strong
--sl-bg-critical-strong
var(--sl-color-red-9)
$bg-critical-strong-hover
--sl-bg-critical-strong-hover
var(--sl-color-red-10)
$bg-critical-strong-pressed
--sl-bg-critical-strong-pressed
var(--sl-color-red-11)
Foreground
Token
CSS Variable
Value
Preview
$fg
--sl-fg
var(--sl-color-gray-12)
$fg-soft
--sl-fg-soft
var(--sl-color-gray-9)
$fg-disabled
--sl-fg-disabled
var(--sl-color-gray-7)
$fg-inverted
--sl-fg-inverted
var(--sl-color-gray-0)
$fg-warning
--sl-fg-warning
var(--sl-color-yellow-9)
$fg-success
--sl-fg-success
var(--sl-color-green-9)
$fg-informational
--sl-fg-informational
var(--sl-color-blue-9)
$fg-muted
--sl-fg-muted
var(--sl-color-gray-11)
$fg-muted-hover
--sl-fg-muted-hover
var(--sl-color-gray-12)
$fg-muted-pressed
--sl-fg-muted-pressed
var(--sl-color-gray-13)
$fg-accent
--sl-fg-accent
var(--sl-color-blue-10)
$fg-accent-hover
--sl-fg-accent-hover
var(--sl-color-blue-11)
$fg-accent-pressed
--sl-fg-accent-pressed
var(--sl-color-blue-12)
$fg-critical
--sl-fg-critical
var(--sl-color-red-9)
$fg-critical-hover
--sl-fg-critical-hover
var(--sl-color-red-10)
$fg-critical-pressed
--sl-fg-critical-pressed
var(--sl-color-red-11)