Basil Leaf

Export

Code

/* Basil Leaf — colorset.net */
:root {
  --color-1: #14532D;
  --color-2: #166534;
  --color-3: #15803D;
  --color-4: #16A34A;
  --color-5: #22C55E;

  --color-bg: #EEFBF0;
  --color-surface: #E5F2E6;
  --color-border: #CADACC;
  --color-text: #14532D;
  --color-muted: #5A7260;
  --color-primary: #00883A;
  --color-on-primary: #FFFFFF;
  --color-accent: #166534;
  --color-on-accent: #FFFFFF;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #031408;
    --color-surface: #0C1E11;
    --color-border: #1E3424;
    --color-text: #90AF95;
    --color-muted: #738A77;
    --color-primary: #16A34A;
    --color-on-primary: #031408;
    --color-accent: #37734A;
    --color-on-accent: #FFFFFF;
  }
}

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 #22C55Eadjusted for contrast · from #14532D
Surfacederivedderived
Borderderivedderived
Textfrom palette · color 1adjusted for contrast · from #22C55E
Muted textderivedderived
Primaryadjusted for contrast · from #15803Dfrom palette · color 4
On primaryderivedderived
Accentfrom palette · color 2adjusted for contrast · from #15803D
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background8.54:1AAA pass 4.5:1
Text on surface7.89:1AAA pass 4.5:1
Muted text on background4.91:1AA pass 4.5:1
Label on primary4.58:1AA pass 4.5:1
Label on accent7.13:1AAA pass 4.5:1
Primary on background4.30:1AA Large pass 3:1
Accent on background6.69:1AA pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background7.90:1AAA pass 4.5:1
Text on surface7.24:1AAA pass 4.5:1
Muted text on background5.08:1AA pass 4.5:1
Label on primary5.75:1AA pass 4.5:1
Label on accent5.65:1AA pass 4.5:1
Primary on background5.75:1AA pass 3:1
Accent on background3.35:1AA Large 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#14532D (Text 1)#166534 (Text 2)#15803D (Text 3)#16A34A (Text 4)#22C55E (Text 5)
#14532DSame color1.28—1.82—2.76—4.00AA Large
#1665341.28—Same color1.42—2.16—3.13AA Large
#15803D1.82—1.42—Same color1.52—2.20—
#16A34A2.76—2.16—1.52—Same color1.45—
#22C55E4.00AA Large3.13AA Large2.20—1.45—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#14532D#166534#15803D#16A34A#22C55E

Variations

About Basil Leaf

Nearly all of the color weight in Basil Leaf sits in green, which makes it a balanced palette anchored by green #15803D. With a hue spread of just 3°, it is effectively monochromatic: #14532D, #166534 and #15803D differ mostly in lightness. Lightness spans 39% (#14532D) to 72% (#22C55E), a moderate range; text roles may need slight darkening for full contrast. Saturation is medium (mean OKLCH chroma 0.139, peaking at 0.192 in #22C55E); the colors are clear without being loud. In light mode #EEFBF0 becomes the background with #14532D text at 8.5:1, and #00883A takes the primary role. Try it for minimal branding, focused single-product sites and typography-led layouts, letting green #16A34A carry the key actions.

Basil Leaf color palette: #14532D, #166534, #15803D, #16A34A, #22C55E
Share image for Basil Leaf

Gradients in similar colors