Nature Rainbow

Export

Code

/* Nature Rainbow — colorset.net */
:root {
  --color-1: #11998E;
  --color-2: #38EF7D;
  --color-3: #FEE140;
  --color-4: #FA709A;
  --color-5: #667EEA;

  --color-bg: #FAF7E8;
  --color-surface: #F1EEDF;
  --color-border: #D9D5C3;
  --color-text: #005852;
  --color-muted: #4F716C;
  --color-primary: #586ED9;
  --color-on-primary: #FFFFFF;
  --color-accent: #9D8800;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #001311;
    --color-surface: #021F1C;
    --color-border: #123431;
    --color-text: #E9E2BC;
    --color-muted: #888368;
    --color-primary: #586ED9;
    --color-on-primary: #FFFFFF;
    --color-accent: #FEE140;
    --color-on-accent: #001311;
  }
}

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 #FEE140adjusted for contrast · from #11998E
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #11998Eadjusted for contrast · from #FEE140
Muted textderivedderived
Primaryadjusted for contrast · from #667EEAadjusted for contrast · from #667EEA
On primaryderivedderived
Accentadjusted for contrast · from #11998Efrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.76:1AAA pass 4.5:1
Text on surface7.16:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent5.96:1AA pass 4.5:1
Primary on background4.20:1AA Large pass 3:1
Accent on background3.28:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.59:1AAA pass 4.5:1
Text on surface13.22:1AAA pass 4.5:1
Muted text on background4.99:1AA pass 4.5:1
Label on primary4.52:1AA pass 4.5:1
Label on accent14.58:1AAA pass 4.5:1
Primary on background4.22:1AA Large pass 3:1
Accent on background14.58: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#11998E (Text 1)#38EF7D (Text 2)#FEE140 (Text 3)#FA709A (Text 4)#667EEA (Text 5)
#11998ESame color2.31—2.69—1.31—1.04—
#38EF7D2.31—Same color1.16—1.76—2.41—
#FEE1402.69—1.16—Same color2.05—2.80—
#FA709A1.31—1.76—2.05—Same color1.37—
#667EEA1.04—2.41—2.80—1.37—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#11998E#38EF7D#FEE140#FA709A#667EEA

Variations

About Nature Rainbow

No single hue dominates Nature Rainbow: green carries about 24% of the color weight, shared with pink and yellow, and vivid pink #FA709A sits in the middle of the range. A 178° hue spread puts teal against vivid pink #FA709A, close to a complementary contrast. All five colors stay in a narrow light band (62% to 91% lightness, #11998E to #FEE140), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.165, peaking at 0.211 in #38EF7D); the colors feel saturated and energetic. As a UI theme it uses #586ED9 for primary actions and #9D8800 as the accent; dark mode sits on #001311 with #E9E2BC text (14.6:1). With #667EEA leading, good fits include kids’ apps, illustration and educational content.

Nature Rainbow color palette: #11998E, #38EF7D, #FEE140, #FA709A, #667EEA
Share image for Nature Rainbow

Gradients in similar colors