Export

Code

/* Basil Dark — colorset.net */
:root {
  --color-1: #2A4519;
  --color-2: #3F5B28;
  --color-3: #547137;
  --color-4: #698746;
  --color-5: #7E9D55;

  --color-bg: #F3FAEB;
  --color-surface: #E9F0E2;
  --color-border: #D0D8C7;
  --color-text: #2A4519;
  --color-muted: #617059;
  --color-primary: #607E3D;
  --color-on-primary: #FFFFFF;
  --color-accent: #3F5B28;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #091205;
    --color-surface: #131D0E;
    --color-border: #263220;
    --color-text: #9AAA88;
    --color-muted: #7B876E;
    --color-primary: #607E3D;
    --color-on-primary: #FFFFFF;
    --color-accent: #7E9D55;
    --color-on-accent: #091205;
  }
}

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 #7E9D55adjusted for contrast · from #2A4519
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #7E9D55
Muted textderivedderived
Primaryadjusted for contrast · from #698746adjusted for contrast · from #698746
On primaryderivedderived
Accentfrom palette · color 2from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background10.02:1AAA pass 4.5:1
Text on surface9.18:1AAA pass 4.5:1
Muted text on background4.96:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent7.67:1AAA pass 4.5:1
Primary on background4.33:1AA Large pass 3:1
Accent on background7.19:1AAA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.71:1AAA pass 4.5:1
Text on surface7.01:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary4.62:1AA pass 4.5:1
Label on accent6.22:1AA pass 4.5:1
Primary on background4.13:1AA Large pass 3:1
Accent on background6.22:1AA 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#2A4519 (Text 1)#3F5B28 (Text 2)#547137 (Text 3)#698746 (Text 4)#7E9D55 (Text 5)
#2A4519Same color1.39—1.93—2.62—3.48AA Large
#3F5B281.39—Same color1.39—1.88—2.50—
#5471371.93—1.39—Same color1.36—1.80—
#6987462.62—1.88—1.36—Same color1.33—
#7E9D553.48AA Large2.50—1.80—1.33—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#2A4519#3F5B28#547137#698746#7E9D55

Variations

About Basil Dark

Five colors make up Basil Dark, a balanced green set: #2A4519, #3F5B28, #547137, #698746, #7E9D55. All hues sit within 7° of each other, so dark green #2A4519 and its relatives form a cohesive monochromatic scheme. From #2A4519 to #7E9D55 the colors share a similar mid-tone value (lightness 36%–66%), which suits fills and illustration more than body text. Average chroma is 0.091, medium for a palette, so the colors are clear without being loud; the most saturated color is #7E9D55. As a UI theme it uses #607E3D for primary actions and #3F5B28 as the accent; dark mode sits on #091205 with #9AAA88 text (7.7:1). With #698746 leading, good fits include finance dashboards, garden and outdoor sites and sustainable fashion.

Basil Dark color palette: #2A4519, #3F5B28, #547137, #698746, #7E9D55
Share image for Basil Dark

Gradients in similar colors