Export

Code

/* Midnight Woods — colorset.net */
:root {
  --color-1: #0F1A17;
  --color-2: #4E9A7A;
  --color-3: #C8A2D8;
  --color-4: #233530;
  --color-5: #E6EFEB;

  --color-bg: #E6EFEB;
  --color-surface: #F0F5F3;
  --color-border: #CBD7D2;
  --color-text: #0F1A17;
  --color-muted: #5E6B67;
  --color-primary: #348263;
  --color-on-primary: #FFFFFF;
  --color-accent: #8C699B;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #0F1A17;
    --color-surface: #192521;
    --color-border: #2B3B36;
    --color-text: #E6EFEB;
    --color-muted: #848D89;
    --color-primary: #4E9A7A;
    --color-on-primary: #0F1A17;
    --color-accent: #C8A2D8;
    --color-on-accent: #0F1A17;
  }
}

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
Backgroundfrom palette · color 5from palette · color 1
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1from palette · color 5
Muted textderivedderived
Primaryadjusted for contrast · from #4E9A7Afrom palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #4E9A7Afrom palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background15.17:1AAA pass 4.5:1
Text on surface16.15:1AAA pass 4.5:1
Muted text on background4.74:1AA pass 4.5:1
Label on primary4.65:1AA pass 4.5:1
Label on accent4.56:1AA pass 4.5:1
Primary on background3.96:1AA Large pass 3:1
Accent on background3.89:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.17:1AAA pass 4.5:1
Text on surface13.49:1AAA pass 4.5:1
Muted text on background5.21:1AA pass 4.5:1
Label on primary5.28:1AA pass 4.5:1
Label on accent8.15:1AAA pass 4.5:1
Primary on background5.28:1AA pass 3:1
Accent on background8.15: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#0F1A17 (Text 1)#4E9A7A (Text 2)#C8A2D8 (Text 3)#233530 (Text 4)#E6EFEB (Text 5)
#0F1A17Same color5.28AA8.15AAA1.38—15.17AAA
#4E9A7A5.28AASame color1.54—3.84AA Large2.88—
#C8A2D88.15AAA1.54—Same color5.92AA1.86—
#2335301.38—3.84AA Large5.92AASame color11.03AAA
#E6EFEB15.17AAA2.88—1.86—11.03AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#0F1A17#4E9A7A#C8A2D8#233530#E6EFEB

Variations

About Midnight Woods

Midnight woods with a pale lilac moonflower. No single hue dominates Midnight Woods: neutral carries about 35% of the color weight, shared with green and purple, and green #4E9A7A sits in the middle of the range. A 152° hue spread puts green against light purple #C8A2D8, close to a complementary contrast. Lightness runs from 21% to 94% (OKLCH), with #4E9A7A in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.046, peaking at 0.091 in #4E9A7A); the colors feel soft and muted. In light mode #E6EFEB becomes the background with #0F1A17 text at 15.2:1, and #348263 takes the primary role. Try it for marketing pages, brand systems with many sub-brands and illustration, letting green #4E9A7A carry the key actions.

Midnight Woods color palette: #0F1A17, #4E9A7A, #C8A2D8, #233530, #E6EFEB
Share image for Midnight Woods

Gradients in similar colors