Foundations
Color
Tokens

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
#EDEDED
$color-gray-3
--sl-color-gray-3
#E6E6E6
$color-gray-4
--sl-color-gray-4
#DEDEDE
$color-gray-5
--sl-color-gray-5
#C7C7C7
$color-gray-6
--sl-color-gray-6
#B1B1B1
$color-gray-7
--sl-color-gray-7
#9B9B9B
$color-gray-8
--sl-color-gray-8
#868686
$color-gray-9
--sl-color-gray-9
#717171
$color-gray-10
--sl-color-gray-10
#666666
$color-gray-11
--sl-color-gray-11
#5B5B5B
$color-gray-12
--sl-color-gray-12
#484848
$color-gray-13
--sl-color-gray-13
#303030
$color-gray-14
--sl-color-gray-14
#1D1D1D
$color-red-1
--sl-color-red-1
#FAEFED
$color-red-2
--sl-color-red-2
#FDE8E3
$color-red-3
--sl-color-red-3
#FFDDD6
$color-red-4
--sl-color-red-4
#FFD2C9
$color-red-5
--sl-color-red-5
#F7B5A7
$color-red-6
--sl-color-red-6
#EC9887
$color-red-7
--sl-color-red-7
#DF7B67
$color-red-8
--sl-color-red-8
#D45B45
$color-red-9
--sl-color-red-9
#CA3A22
$color-red-10
--sl-color-red-10
#BA2205
$color-red-11
--sl-color-red-11
#A81B00
$color-red-12
--sl-color-red-12
#861502
$color-red-13
--sl-color-red-13
#5A1207
$color-orange-1
--sl-color-orange-1
#FCF3ED
$color-orange-2
--sl-color-orange-2
#F9EADD
$color-orange-3
--sl-color-orange-3
#FBE1CC
$color-orange-4
--sl-color-orange-4
#FBD6B9
$color-orange-5
--sl-color-orange-5
#F3C197
$color-orange-6
--sl-color-orange-6
#E6A66F
$color-orange-7
--sl-color-orange-7
#DF914B
$color-orange-8
--sl-color-orange-8
#DC7E0E
$color-orange-9
--sl-color-orange-9
#C87000
$color-orange-10
--sl-color-orange-10
#B56500
$color-orange-11
--sl-color-orange-11
#A35900
$color-orange-12
--sl-color-orange-12
#834600
$color-orange-13
--sl-color-orange-13
#5B3000
$color-yellow-1
--sl-color-yellow-1
#FFF7EB
$color-yellow-2
--sl-color-yellow-2
#FFECCD
$color-yellow-3
--sl-color-yellow-3
#FFE6BD
$color-yellow-4
--sl-color-yellow-4
#FFDA9D
$color-yellow-5
--sl-color-yellow-5
#F6C778
$color-yellow-6
--sl-color-yellow-6
#E5AF4D
$color-yellow-7
--sl-color-yellow-7
#DB9C00
$color-yellow-8
--sl-color-yellow-8
#CA8F00
$color-yellow-9
--sl-color-yellow-9
#BA8400
$color-yellow-10
--sl-color-yellow-10
#A77600
$color-yellow-11
--sl-color-yellow-11
#946800
$color-yellow-12
--sl-color-yellow-12
#7B5600
$color-yellow-13
--sl-color-yellow-13
#583D00
$color-green-1
--sl-color-green-1
#F2F6F1
$color-green-2
--sl-color-green-2
#E7F1E4
$color-green-3
--sl-color-green-3
#DBECD5
$color-green-4
--sl-color-green-4
#CFE7C4
$color-green-5
--sl-color-green-5
#B2D3A4
$color-green-6
--sl-color-green-6
#98BF83
$color-green-7
--sl-color-green-7
#7DAB64
$color-green-8
--sl-color-green-8
#62973B
$color-green-9
--sl-color-green-9
#488409
$color-green-10
--sl-color-green-10
#3F7700
$color-green-11
--sl-color-green-11
#386A00
$color-green-12
--sl-color-green-12
#2E5304
$color-green-13
--sl-color-green-13
#1D3900
$color-teal-1
--sl-color-teal-1
#ECF8F6
$color-teal-2
--sl-color-teal-2
#DDF3EF
$color-teal-3
--sl-color-teal-3
#CAF0E8
$color-teal-4
--sl-color-teal-4
#B6EBDF
$color-teal-5
--sl-color-teal-5
#8CD9CA
$color-teal-6
--sl-color-teal-6
#5BC7B3
$color-teal-7
--sl-color-teal-7
#16B49C
$color-teal-8
--sl-color-teal-8
#0C9C84
$color-teal-9
--sl-color-teal-9
#008570
$color-teal-10
--sl-color-teal-10
#007764
$color-teal-11
--sl-color-teal-11
#006A59
$color-teal-12
--sl-color-teal-12
#005546
$color-teal-13
--sl-color-teal-13
#003A2F
$color-blue-1
--sl-color-blue-1
#F1F5FD
$color-blue-2
--sl-color-blue-2
#E4EEFE
$color-blue-3
--sl-color-blue-3
#D9E7FF
$color-blue-4
--sl-color-blue-4
#CAE0FF
$color-blue-5
--sl-color-blue-5
#A8C9FB
$color-blue-6
--sl-color-blue-6
#86B3F3
$color-blue-7
--sl-color-blue-7
#669CEA
$color-blue-8
--sl-color-blue-8
#3F86E2
$color-blue-9
--sl-color-blue-9
#096ED9
$color-blue-10
--sl-color-blue-10
#0064C3
$color-blue-11
--sl-color-blue-11
#0959AC
$color-blue-12
--sl-color-blue-12
#00478A
$color-blue-13
--sl-color-blue-13
#003060
$color-purple-1
--sl-color-purple-1
#F7F3FC
$color-purple-2
--sl-color-purple-2
#EFEAFB
$color-purple-3
--sl-color-purple-3
#E9E1FE
$color-purple-4
--sl-color-purple-4
#E1D7FF
$color-purple-5
--sl-color-purple-5
#CBBDF7
$color-purple-6
--sl-color-purple-6
#B6A4EC
$color-purple-7
--sl-color-purple-7
#A18AE2
$color-purple-8
--sl-color-purple-8
#8D70D9
$color-purple-9
--sl-color-purple-9
#7B53D1
$color-purple-10
--sl-color-purple-10
#6F45C6
$color-purple-11
--sl-color-purple-11
#633CB4
$color-purple-12
--sl-color-purple-12
#4D2D94
$color-purple-13
--sl-color-purple-13
#351B6B
$color-pink-1
--sl-color-pink-1
#FCF2F5
$color-pink-2
--sl-color-pink-2
#FCE7ED
$color-pink-3
--sl-color-pink-3
#FFDBE8
$color-pink-4
--sl-color-pink-4
#FFCEE3
$color-pink-5
--sl-color-pink-5
#F4B0CE
$color-pink-6
--sl-color-pink-6
#E693BC
$color-pink-7
--sl-color-pink-7
#DA74A9
$color-pink-8
--sl-color-pink-8
#CC5498
$color-pink-9
--sl-color-pink-9
#BE2B86
$color-pink-10
--sl-color-pink-10
#B20C7D
$color-pink-11
--sl-color-pink-11
#A10070
$color-pink-12
--sl-color-pink-12
#80005C
$color-pink-13
--sl-color-pink-13
#59003F
$color-cyan-1
--sl-color-cyan-1
#EDF7FA
$color-cyan-2
--sl-color-cyan-2
#DDF2F9
$color-cyan-3
--sl-color-cyan-3
#CCEDF6
$color-cyan-4
--sl-color-cyan-4
#BAE7F3
$color-cyan-5
--sl-color-cyan-5
#89D5E8
$color-cyan-6
--sl-color-cyan-6
#55C2DA
$color-cyan-7
--sl-color-cyan-7
#00ADCA
$color-cyan-8
--sl-color-cyan-8
#0096AE
$color-cyan-9
--sl-color-cyan-9
#007F94
$color-cyan-10
--sl-color-cyan-10
#007385
$color-cyan-11
--sl-color-cyan-11
#006775
$color-cyan-12
--sl-color-cyan-12
#00525E
$color-cyan-13
--sl-color-cyan-13
#003740

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-14) 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-inverted
--sl-bg-inverted
var(--sl-color-gray-14)
$bg-inverted-plain
--sl-bg-inverted-plain
color-mix(in srgb, var(--sl-color-gray-14) 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-14) 0%, transparent)
$bg-muted-plain-hover
--sl-bg-muted-plain-hover
color-mix(in srgb, var(--sl-color-gray-14) 5%, transparent)
$bg-muted-plain-pressed
--sl-bg-muted-plain-pressed
color-mix(in srgb, var(--sl-color-gray-14) 10%, 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-14)
$fg-soft
--sl-fg-soft
var(--sl-color-gray-10)
$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-12)
$fg-muted-hover
--sl-fg-muted-hover
var(--sl-color-gray-13)
$fg-muted-pressed
--sl-fg-muted-pressed
var(--sl-color-gray-14)
$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)