Export

Code

/* Basil Green — colorset.net */
:root {
  --color-1: #4A7C59;
  --color-2: #5E956D;
  --color-3: #72AE81;
  --color-4: #86C795;
  --color-5: #9AE0A9;

  --color-bg: #EEFBF0;
  --color-surface: #E5F2E7;
  --color-border: #CADACC;
  --color-text: #275938;
  --color-muted: #59715F;
  --color-primary: #5E956D;
  --color-on-primary: #000000;
  --color-accent: #408452;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #051309;
    --color-surface: #0E1E12;
    --color-border: #203325;
    --color-text: #B6D6BC;
    --color-muted: #708874;
    --color-primary: #5E956D;
    --color-on-primary: #051309;
    --color-accent: #9AE0A9;
    --color-on-accent: #051309;
  }
}

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 #9AE0A9adjusted for contrast · from #4A7C59
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4A7C59adjusted for contrast · from #9AE0A9
Muted textderivedderived
Primaryfrom palette · color 2from palette · color 2
On primaryderivedderived
Accentadjusted for contrast · from #4A7C59from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.66:1AAA pass 4.5:1
Text on surface7.07:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary6.00:1AA pass 4.5:1
Label on accent4.53:1AA pass 4.5:1
Primary on background3.28:1AA Large pass 3:1
Accent on background4.24:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background12.08:1AAA pass 4.5:1
Text on surface10.99:1AAA pass 4.5:1
Muted text on background4.95:1AA pass 4.5:1
Label on primary5.43:1AA pass 4.5:1
Label on accent12.33:1AAA pass 4.5:1
Primary on background5.43:1AA pass 3:1
Accent on background12.33: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#4A7C59 (Text 1)#5E956D (Text 2)#72AE81 (Text 3)#86C795 (Text 4)#9AE0A9 (Text 5)
#4A7C59Same color1.39—1.87—2.46—3.15AA Large
#5E956D1.39—Same color1.35—1.77—2.27—
#72AE811.87—1.35—Same color1.31—1.68—
#86C7952.46—1.77—1.31—Same color1.28—
#9AE0A93.15AA Large2.27—1.68—1.28—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4A7C59#5E956D#72AE81#86C795#9AE0A9

Variations

About Basil Green

Basil Green is a balanced green palette of 5 colors that runs from light green #9AE0A9 to green #4A7C59. With a hue spread of just 2°, it is effectively monochromatic: #4A7C59, #5E956D and #72AE81 differ mostly in lightness. Lightness spans 54% (#4A7C59) to 85% (#9AE0A9), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.091, peaking at 0.104 in #9AE0A9); the colors are clear without being loud. As a UI theme it uses #5E956D for primary actions and #408452 as the accent; dark mode sits on #051309 with #B6D6BC text (12.1:1). Try it for lifestyle blogs, stationery and skincare brands, letting green #5E956D carry the key actions.

Basil Green color palette: #4A7C59, #5E956D, #72AE81, #86C795, #9AE0A9
Share image for Basil Green

Gradients in similar colors