Export

Code

/* Moth Lamp — colorset.net */
:root {
  --color-1: #221915;
  --color-2: #D9B76E;
  --color-3: #6A7FA0;
  --color-4: #43342B;
  --color-5: #F3E8DA;

  --color-bg: #F3E8DA;
  --color-surface: #F7F0E8;
  --color-border: #DCCFBE;
  --color-text: #221915;
  --color-muted: #726762;
  --color-primary: #6A7FA0;
  --color-on-primary: #000000;
  --color-accent: #907024;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #221915;
    --color-surface: #2D241F;
    --color-border: #453832;
    --color-text: #F3E8DA;
    --color-muted: #968C80;
    --color-primary: #6A7FA0;
    --color-on-primary: #000000;
    --color-accent: #D9B76E;
    --color-on-accent: #221915;
  }
}

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
Primaryfrom palette · color 3from palette · color 3
On primaryderivedderived
Accentadjusted for contrast · from #6A7FA0from palette · color 2
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background14.26:1AAA pass 4.5:1
Text on surface15.26:1AAA pass 4.5:1
Muted text on background4.53:1AA pass 4.5:1
Label on primary5.16:1AA pass 4.5:1
Label on accent4.64:1AA pass 4.5:1
Primary on background3.37:1AA Large pass 3:1
Accent on background3.83:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background14.26:1AAA pass 4.5:1
Text on surface12.55:1AAA pass 4.5:1
Muted text on background5.22:1AA pass 4.5:1
Label on primary5.16:1AA pass 4.5:1
Label on accent8.99:1AAA pass 4.5:1
Primary on background4.23:1AA Large pass 3:1
Accent on background8.99: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#221915 (Text 1)#D9B76E (Text 2)#6A7FA0 (Text 3)#43342B (Text 4)#F3E8DA (Text 5)
#221915Same color8.99AAA4.23AA Large1.45—14.26AAA
#D9B76E8.99AAASame color2.12—6.20AA1.59—
#6A7FA04.23AA Large2.12—Same color2.92—3.37AA Large
#43342B1.45—6.20AA2.92—Same color9.84AAA
#F3E8DA14.26AAA1.59—3.37AA Large9.84AAASame color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#221915#D9B76E#6A7FA0#43342B#F3E8DA

Variations

About Moth Lamp

A moth circling a brass lamp in a dusky blue study. No single hue dominates Moth Lamp: neutral carries about 37% of the color weight, shared with yellow and blue, and dusty blue #6A7FA0 sits in the middle of the range. A 174° hue spread puts light yellow against dusty blue #6A7FA0, close to a complementary contrast. Lightness runs from 22% to 94% (OKLCH), with #6A7FA0 in between, a wide range that leaves room for readable text and clear backgrounds. Saturation is low (mean OKLCH chroma 0.044, peaking at 0.100 in #D9B76E); the colors feel soft and muted. Text contrast reaches 14.3:1 in light mode and 14.3:1 in dark mode, with #6A7FA0 as primary and #907024 as accent. Try it for editorial design, calm productivity apps and boutique brands, letting dusty blue #6A7FA0 carry the key actions.

Moth Lamp color palette: #221915, #D9B76E, #6A7FA0, #43342B, #F3E8DA
Share image for Moth Lamp

Gradients in similar colors