Export

Code

/* Dynamic Mix — colorset.net */
:root {
  --color-1: #FF4040;
  --color-2: #40FF40;
  --color-3: #4040FF;
  --color-4: #40FFFF;
  --color-5: #FFFF40;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D6D7C4;
  --color-text: #3E4B81;
  --color-muted: #636A83;
  --color-primary: #4040FF;
  --color-on-primary: #FFFFFF;
  --color-accent: #7A7900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0A0E1F;
    --color-surface: #14182A;
    --color-border: #272D42;
    --color-text: #F7F9D2;
    --color-muted: #8C8D71;
    --color-primary: #454DFF;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFFF40;
    --color-on-accent: #0A0E1F;
  }
}

Color values

ColorHEXRGBHSLOKLCH
1
2
3
4
5

Roles & contrast

Original colors are kept; roles are adjusted only when needed for contrast.

RoleLight modeDark mode
Backgroundadjusted for contrast · from #40FFFFadjusted for contrast · from #4040FF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4040FFadjusted for contrast · from #FFFF40
Muted textderivedderived
Primaryfrom palette · color 3adjusted for contrast · from #4040FF
On primaryderivedderived
Accentadjusted for contrast · from #FF4040from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.74:1AAA pass 4.5:1
Text on surface7.14:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary6.18:1AA pass 4.5:1
Label on accent4.60:1AA pass 4.5:1
Primary on background5.76:1AA pass 3:1
Accent on background4.29:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.74:1AAA pass 4.5:1
Text on surface16.28:1AAA pass 4.5:1
Muted text on background5.63:1AA pass 4.5:1
Label on primary5.59:1AA pass 4.5:1
Label on accent17.92:1AAA pass 4.5:1
Primary on background3.43:1AA Large pass 3:1
Accent on background17.92:1AAA pass 3:1

Every color on every color

Rows are backgrounds and columns are text colors, using the actual palette colors. Ratios: AAA 7:1, AA 4.5:1, AA large text 3:1.

Every color on every color
Background / Text#FF4040 (Text 1)#40FF40 (Text 2)#4040FF (Text 3)#40FFFF (Text 4)#FFFF40 (Text 5)
#FF4040Same color2.57—1.78—2.80—3.24AA Large
#40FF402.57—Same color4.59AA1.09—1.26—
#4040FF1.78—4.59AASame color5.00AA5.78AA
#40FFFF2.80—1.09—5.00AASame color1.16—
#FFFF403.24AA Large1.26—5.78AA1.16—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF4040#40FF40#4040FF#40FFFF#FFFF40

Variations

About Dynamic Mix

Five colors make up Dynamic Mix, a balanced multi-color set: #FF4040, #40FF40, #4040FF, #40FFFF, #FFFF40. Vivid red #FF4040 and pale teal #40FFFF sit on nearly opposite sides of the wheel (169° apart), a complementary pairing that makes accents pop. With lightness between 52% and 97% and #40FF40 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.221, high for a palette, so the colors feel saturated and energetic; the most saturated color is #40FF40. Text contrast reaches 7.7:1 in light mode and 17.7:1 in dark mode, with #4040FF as primary and #7A7900 as accent. With #4040FF leading, good fits include data visualization, brand systems with many sub-brands and educational content.

Dynamic Mix color palette: #FF4040, #40FF40, #4040FF, #40FFFF, #FFFF40
Share image for Dynamic Mix

Gradients in similar colors