Export

Code

/* Game Colors — colorset.net */
:root {
  --color-1: #FF0000;
  --color-2: #0000FF;
  --color-3: #FFFF00;
  --color-4: #228B22;
  --color-5: #8B4513;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #344C7F;
  --color-muted: #5E6A82;
  --color-primary: #0000FF;
  --color-on-primary: #FFFFFF;
  --color-accent: #797900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #080F1F;
    --color-surface: #11192A;
    --color-border: #242E42;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #1653FF;
    --color-on-primary: #FFFFFF;
    --color-accent: #FFFF00;
    --color-on-accent: #080F1F;
  }
}

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 #FFFF00adjusted for contrast · from #8B4513
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #8B4513adjusted for contrast · from #FFFF00
Muted textderivedderived
Primaryfrom palette · color 2adjusted for contrast · from #0000FF
On primaryderivedderived
Accentadjusted for contrast · from #228B22from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.87:1AAA pass 4.5:1
Text on surface7.26:1AAA pass 4.5:1
Muted text on background5.07:1AA pass 4.5:1
Label on primary8.59:1AAA pass 4.5:1
Label on accent4.62:1AA pass 4.5:1
Primary on background8.00:1AAA pass 3:1
Accent on background4.30:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.55:1AAA pass 4.5:1
Text on surface16.11:1AAA pass 4.5:1
Muted text on background5.54:1AA pass 4.5:1
Label on primary5.65:1AA pass 4.5:1
Label on accent17.80:1AAA pass 4.5:1
Primary on background3.38:1AA Large pass 3:1
Accent on background17.80: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#FF0000 (Text 1)#0000FF (Text 2)#FFFF00 (Text 3)#228B22 (Text 4)#8B4513 (Text 5)
#FF0000Same color2.15—3.72AA Large1.10—1.78—
#0000FF2.15—Same color8.00AAA1.96—1.21—
#FFFF003.72AA Large8.00AAASame color4.09AA Large6.61AA
#228B221.10—1.96—4.09AA LargeSame color1.62—
#8B45131.78—1.21—6.61AA1.62—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF0000#0000FF#FFFF00#228B22#8B4513

Variations

About Game Colors

Game Colors is a balanced multi-color palette of 5 colors that runs from pale yellow #FFFF00 to vivid blue #0000FF. A 154° hue spread puts vivid blue against pale yellow #FFFF00, close to a complementary contrast. Lightness spans 45% (#0000FF) to 97% (#FFFF00), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.213, peaking at 0.313 in #0000FF); the colors feel saturated and energetic. In light mode #F7F8E9 becomes the background with #344C7F text at 7.9:1, and #0000FF takes the primary role. With #0000FF leading, good fits include infographics, educational content and brand systems with many sub-brands.

Game Colors color palette: #FF0000, #0000FF, #FFFF00, #228B22, #8B4513
Share image for Game Colors

Gradients in similar colors