Export

Code

/* Neon Rainbow — colorset.net */
:root {
  --color-1: #00FFFF;
  --color-2: #FF00FF;
  --color-3: #FFFF00;
  --color-4: #00FF00;
  --color-5: #0080FF;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #2B4F7F;
  --color-muted: #5C6C82;
  --color-primary: #F100F1;
  --color-on-primary: #000000;
  --color-accent: #008900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #05101E;
    --color-surface: #0E1A29;
    --color-border: #202F42;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #FF00FF;
    --color-on-primary: #05101E;
    --color-accent: #00FF00;
    --color-on-accent: #05101E;
  }
}

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 #00FFFFadjusted for contrast · from #0080FF
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #0080FFadjusted for contrast · from #FFFF00
Muted textderivedderived
Primaryadjusted for contrast · from #FF00FFfrom palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #00FF00from palette · color 4
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.01:1AA pass 4.5:1
Label on accent4.59:1AA pass 4.5:1
Primary on background3.25:1AA Large pass 3:1
Accent on background4.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.53:1AAA pass 4.5:1
Text on surface16.08:1AAA pass 4.5:1
Muted text on background5.54:1AA pass 4.5:1
Label on primary6.09:1AA pass 4.5:1
Label on accent13.92:1AAA pass 4.5:1
Primary on background6.09:1AA pass 3:1
Accent on background13.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#00FFFF (Text 1)#FF00FF (Text 2)#FFFF00 (Text 3)#00FF00 (Text 4)#0080FF (Text 5)
#00FFFFSame color2.50—1.17—1.09—3.03AA Large
#FF00FF2.50—Same color2.92—2.29—1.21—
#FFFF001.17—2.92—Same color1.28—3.54AA Large
#00FF001.09—2.29—1.28—Same color2.77—
#0080FF3.03AA Large1.21—3.54AA Large2.77—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#00FFFF#FF00FF#FFFF00#00FF00#0080FF

Variations

About Neon Rainbow

No single hue dominates Neon Rainbow: pink carries about 21% of the color weight, shared with yellow and green, and light green #00FF00 sits in the middle of the range. A 174° hue spread puts vivid pink against light green #00FF00, close to a complementary contrast. Lightness spans 62% (#0080FF) to 97% (#FFFF00), a moderate range; text roles may need slight darkening for full contrast. Saturation is high (mean OKLCH chroma 0.239, peaking at 0.322 in #FF00FF); the colors feel saturated and energetic. As a UI theme it uses #F100F1 for primary actions and #008900 as the accent; dark mode sits on #05101E with #F6F8D2 text (17.5:1). With #FF00FF leading, good fits include marketing pages, brand systems with many sub-brands and data visualization.

Neon Rainbow color palette: #00FFFF, #FF00FF, #FFFF00, #00FF00, #0080FF
Share image for Neon Rainbow

Gradients in similar colors