Global Colors

Export

Code

/* Global Colors — colorset.net */
:root {
  --color-1: #4169E1;
  --color-2: #32CD32;
  --color-3: #FFD700;
  --color-4: #FF69B4;
  --color-5: #9370DB;

  --color-bg: #FBF7E8;
  --color-surface: #F1EEDF;
  --color-border: #DAD5C3;
  --color-text: #394D81;
  --color-muted: #616B83;
  --color-primary: #008808;
  --color-on-primary: #FFFFFF;
  --color-accent: #8461CA;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #12192A;
    --color-border: #242D42;
    --color-text: #E4DAB5;
    --color-muted: #898267;
    --color-primary: #32CD32;
    --color-on-primary: #080F1F;
    --color-accent: #8461CA;
    --color-on-accent: #FFFFFF;
  }
}

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 #FFD700adjusted for contrast · from #4169E1
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4169E1adjusted for contrast · from #FFD700
Muted textderivedderived
Primaryadjusted for contrast · from #32CD32from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #9370DBadjusted for contrast · from #9370DB
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.67:1AAA pass 4.5:1
Text on surface7.07:1AAA pass 4.5:1
Muted text on background4.97:1AA pass 4.5:1
Label on primary4.64:1AA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background4.33:1AA Large pass 3:1
Accent on background4.31:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background13.65:1AAA pass 4.5:1
Text on surface12.51:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary9.03:1AAA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background9.03:1AAA pass 3:1
Accent on background4.14:1AA Large 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#4169E1 (Text 1)#32CD32 (Text 2)#FFD700 (Text 3)#FF69B4 (Text 4)#9370DB (Text 5)
#4169E1Same color2.29—3.46AA Large1.83—1.29—
#32CD322.29—Same color1.51—1.25—1.78—
#FFD7003.46AA Large1.51—Same color1.89—2.68—
#FF69B41.83—1.25—1.89—Same color1.42—
#9370DB1.29—1.78—2.68—1.42—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4169E1#32CD32#FFD700#FF69B4#9370DB

Variations

About Global Colors

Global Colors is a balanced multi-color palette of 5 colors that runs from pale yellow #FFD700 to vivid blue #4169E1. A 171° hue spread puts vivid blue against pale yellow #FFD700, close to a complementary contrast. Lightness spans 56% (#4169E1) to 89% (#FFD700), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.191, peaking at 0.229 in #32CD32); the colors feel saturated and energetic. As a UI theme it uses #008808 for primary actions and #8461CA as the accent; dark mode sits on #080F1F with #E4DAB5 text (13.7:1). Try it for marketing pages, data visualization and brand systems with many sub-brands, letting light green #32CD32 carry the key actions.

Global Colors color palette: #4169E1, #32CD32, #FFD700, #FF69B4, #9370DB
Share image for Global Colors

Gradients in similar colors