Dark Mode Color Adapter

Your workspaceProcessed on your device

Theme preview

Background #221F11
  • surface#1A2422
    Surface
  • border#1D2624
    Surface
  • text#CFDCE3
    Aa Sample text
    11.79:1 on dark background · target met
  • muted#93A7AC
    Aa Sample text
    6.57:1 on dark background · target met
  • primary#A1CFDC
    Aa Sample text
    9.81:1 on dark background · target met
  • accent#D08B79
    Aa Sample text
    6.01:1 on dark background · target met
Adaptation

The contrast target applies to foreground colors over the generated dark background.

Named palette colors
A few things to know.

Add one to twelve sRGB colors alongside an opaque output background. Dark background lightness ranges from 3% to 45%. Foreground checks support targets from 1:1 to 21:1 and retain the input alpha.

  1. Choose a preset or name your own light colors. Classify each color as Foreground or Surface.
  2. Choose an adaptation mode, dark background lightness and saturation adjustment. Compare the samples in both themes.
  3. Set a foreground contrast target. Review the actual ratios and download CSS variables or the Tailwind v3 color configuration.