Basil Herb

Export

Code

/* Basil Herb — colorset.net */
:root {
  --color-1: #356859;
  --color-2: #4A7C59;
  --color-3: #5F9EA0;
  --color-4: #6B8E23;
  --color-5: #8FBC8F;

  --color-bg: #EFFBEF;
  --color-surface: #E6F1E5;
  --color-border: #CBDACB;
  --color-text: #235749;
  --color-muted: #527167;
  --color-primary: #5D7F09;
  --color-on-primary: #FFFFFF;
  --color-accent: #539294;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #04130E;
    --color-surface: #0D1D18;
    --color-border: #1E332C;
    --color-text: #9BB79B;
    --color-muted: #748974;
    --color-primary: #5D7F09;
    --color-on-primary: #FFFFFF;
    --color-accent: #5F9EA0;
    --color-on-accent: #04130E;
  }
}

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 #8FBC8Fadjusted for contrast · from #356859
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #356859adjusted for contrast · from #8FBC8F
Muted textderivedderived
Primaryadjusted for contrast · from #6B8E23adjusted for contrast · from #6B8E23
On primaryderivedderived
Accentadjusted for contrast · from #5F9EA0from palette · color 3
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.79:1AAA pass 4.5:1
Text on surface7.14:1AAA pass 4.5:1
Muted text on background5.03:1AA pass 4.5:1
Label on primary4.66:1AA pass 4.5:1
Label on accent5.91:1AA pass 4.5:1
Primary on background4.38:1AA Large pass 3:1
Accent on background3.34:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background8.73:1AAA pass 4.5:1
Text on surface7.99:1AAA pass 4.5:1
Muted text on background5.05:1AA pass 4.5:1
Label on primary4.66:1AA pass 4.5:1
Label on accent6.23:1AA pass 4.5:1
Primary on background4.08:1AA Large pass 3:1
Accent on background6.23: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#356859 (Text 1)#4A7C59 (Text 2)#5F9EA0 (Text 3)#6B8E23 (Text 4)#8FBC8F (Text 5)
#356859Same color1.32—2.10—1.68—2.98—
#4A7C591.32—Same color1.59—1.28—2.26—
#5F9EA02.10—1.59—Same color1.25—1.42—
#6B8E231.68—1.28—1.25—Same color1.77—
#8FBC8F2.98—2.26—1.42—1.77—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#356859#4A7C59#5F9EA0#6B8E23#8FBC8F

Variations

About Basil Herb

Basil Herb is a cool green palette of 5 colors that runs from light green #8FBC8F to dusty teal #356859. The 5 chromatic colors span 72° of hue, close enough for dusty teal and light green to read as one family. All five colors stay in a narrow mid-tone band (48% to 75% lightness, #356859 to #8FBC8F), so text and background roles are adjusted for contrast. Saturation is low (mean OKLCH chroma 0.084, peaking at 0.137 in #6B8E23); the colors feel soft and muted. As a UI theme it uses #5D7F09 for primary actions and #539294 as the accent; dark mode sits on #04130E with #9BB79B text (8.7:1). With #6B8E23 leading, good fits include finance dashboards, garden and outdoor sites and sustainability brands.

Basil Herb color palette: #356859, #4A7C59, #5F9EA0, #6B8E23, #8FBC8F
Share image for Basil Herb

Gradients in similar colors