ColorContract
#FACC15

An accessible color system for a yellow brand

Yellow is the hardest brand color: very bright, it meets no use on a white background. In dark mode, on the other hand, it can carry everything.

Open this example in the tool

What happens to the brand

UseThreshold Light Dark
Action background, against the surface3:1
#896406 5.39:1 passbrand step 600
#FACC15 13.71:1 passthe brand as is
Button text, on the brand, hover and pressed4.5:1
#F1F9FE 5.07:1 passneutral 50
#151C21 11.24:1 passneutral 950
Text in the brand color, on the surface4.5:1
#8F7304 4.54:1 passvariant brand.text
#FACC15 13.71:1 passthe brand as is
Focus ring, against the surface3:1
#896406 5.39:1 passbrand step 600
#F8DC86 15.57:1 passbrand step 100

In light mode, the brand only reaches 1.53:1 on white (3:1 required): the action background moves to brand step 600 (#896406, 5.39:1). The brand stays intact. In dark mode, the brand is the action background as is (13.71:1 on black).

The tokens in an interface

Every text in this preview sits on a background its combination is guaranteed against.

Light preview, with the system tokens

Monthly report

Secondary text, legible on every surface.

Email addressname@example.com

SaveFocus
ErrorWarningSuccessInfo
Dark preview, with the system tokens

Monthly report

Secondary text, legible on every surface.

Email addressname@example.com

SaveFocus
ErrorWarningSuccessInfo

The scales

11 steps per hue, default settings, algorithm v1.11.

Brand
  1. 50 #FDF7E7
  2. 100 #F8DC86
  3. 200 #E8C03E
  4. 300 #D0A623
  5. 400 #B68D0E
  6. 500 #A07908
  7. 600 #896406
  8. 700 #765504
  9. 800 #5B3F02
  10. 900 #422A01
  11. 950 #291800
Neutral
  1. 50 #F1F9FE
  2. 100 #D7DFE4
  3. 200 #BCC6CB
  4. 300 #A3ADB2
  5. 400 #8B949A
  6. 500 #778086
  7. 600 #626C71
  8. 700 #535C60
  9. 800 #3D454A
  10. 900 #283035
  11. 950 #151C21
Error
  1. 50 #FBF7F5
  2. 100 #F1D8D2
  3. 200 #EAB9AD
  4. 300 #E69885
  5. 400 #E0755A
  6. 500 #C96046
  7. 600 #AC4E37
  8. 700 #94422E
  9. 800 #703121
  10. 900 #502115
  11. 950 #32110A
Warning
  1. 50 #FBF7F0
  2. 100 #F0DBB4
  3. 200 #E6BF75
  4. 300 #CCA65F
  5. 400 #B38D4E
  6. 500 #9C7942
  7. 600 #846536
  8. 700 #72562D
  9. 800 #583F21
  10. 900 #3F2B15
  11. 950 #271809
Success
  1. 50 #F2FBE6
  2. 100 #CCE79F
  3. 200 #AFCF72
  4. 300 #98B65E
  5. 400 #819C4D
  6. 500 #6F8741
  7. 600 #5D7135
  8. 700 #4F612C
  9. 800 #3B4920
  10. 900 #283214
  11. 950 #161E09
Info
  1. 50 #F2F9FC
  2. 100 #BEE4F1
  3. 200 #7CD0EB
  4. 300 #5DB7D3
  5. 400 #4B9DB6
  6. 500 #40889D
  7. 600 #357285
  8. 700 #2C6271
  9. 800 #1F4956
  10. 900 #14333D
  11. 950 #091E25
Hex values
50100200300400500600700800900950
Brand#FDF7E7#F8DC86#E8C03E#D0A623#B68D0E#A07908#896406#765504#5B3F02#422A01#291800
Neutral#F1F9FE#D7DFE4#BCC6CB#A3ADB2#8B949A#778086#626C71#535C60#3D454A#283035#151C21
Error#FBF7F5#F1D8D2#EAB9AD#E69885#E0755A#C96046#AC4E37#94422E#703121#502115#32110A
Warning#FBF7F0#F0DBB4#E6BF75#CCA65F#B38D4E#9C7942#846536#72562D#583F21#3F2B15#271809
Success#F2FBE6#CCE79F#AFCF72#98B65E#819C4D#6F8741#5D7135#4F612C#3B4920#283214#161E09
Info#F2F9FC#BEE4F1#7CD0EB#5DB7D3#4B9DB6#40889D#357285#2C6271#1F4956#14333D#091E25

Other examples

Blue · Red · Green · Purple · Orange · Muted brand

Open the toolHow it worksExamplesFAQComparisonGuides: Your brand color fails contrast · Your brand color in dark mode