Export

Code

/* Fire Rainbow — colorset.net */
:root {
  --color-1: #FF0000;
  --color-2: #FF8000;
  --color-3: #FFFF00;
  --color-4: #80FF00;
  --color-5: #00FF00;

  --color-bg: #F7F8E9;
  --color-surface: #EEEFE0;
  --color-border: #D5D7C4;
  --color-text: #7C3D34;
  --color-muted: #83645F;
  --color-primary: #EA0000;
  --color-on-primary: #FFFFFF;
  --color-accent: #008900;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #1C0907;
    --color-surface: #281310;
    --color-border: #402622;
    --color-text: #F6F8D2;
    --color-muted: #8B8C71;
    --color-primary: #EA0000;
    --color-on-primary: #FFFFFF;
    --color-accent: #00FF00;
    --color-on-accent: #1C0907;
  }
}

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 #FF0000
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #FF0000adjusted for contrast · from #FFFF00
Muted textderivedderived
Primaryadjusted for contrast · from #FF0000adjusted for contrast · from #FF0000
On primaryderivedderived
Accentadjusted for contrast · from #FF8000from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.60:1AAA pass 4.5:1
Text on surface7.02:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary4.67:1AA pass 4.5:1
Label on accent4.59:1AA pass 4.5:1
Primary on background4.35:1AA Large pass 3:1
Accent on background4.27:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background17.66:1AAA pass 4.5:1
Text on surface16.19:1AAA pass 4.5:1
Muted text on background5.58:1AA pass 4.5:1
Label on primary4.67:1AA pass 4.5:1
Label on accent14.02:1AAA pass 4.5:1
Primary on background4.12:1AA Large pass 3:1
Accent on background14.02: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)#FF8000 (Text 2)#FFFF00 (Text 3)#80FF00 (Text 4)#00FF00 (Text 5)
#FF0000Same color1.59—3.72AA Large3.09AA Large2.91—
#FF80001.59—Same color2.34—1.95—1.84—
#FFFF003.72AA Large2.34—Same color1.21—1.28—
#80FF003.09AA Large1.95—1.21—Same color1.06—
#00FF002.91—1.84—1.28—1.06—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#FF0000#FF8000#FFFF00#80FF00#00FF00

Variations

About Fire Rainbow

Five colors make up Fire Rainbow, a balanced multi-color set: #FF0000, #FF8000, #FFFF00, #80FF00, #00FF00. Vivid red #FF0000 and light green #00FF00 are 113° apart, so the palette has clear hue contrast without clashing. With lightness between 63% and 97% and #00FF00 near the middle, there is enough spread for layered surfaces but not maximum text contrast. Average chroma is 0.243, high for a palette, so the colors feel saturated and energetic; the most saturated color is #00FF00. In light mode #F7F8E9 becomes the background with #7C3D34 text at 7.6:1, and #EA0000 takes the primary role. Its vivid and neon character, led by #FF0000, suits reading apps, clean landing pages and bold landing pages.

Fire Rainbow color palette: #FF0000, #FF8000, #FFFF00, #80FF00, #00FF00
Share image for Fire Rainbow

Gradients in similar colors