Export

Code

/* Shamrock — colorset.net */
:root {
  --color-1: #4CBB17;
  --color-2: #66CC31;
  --color-3: #80DD4B;
  --color-4: #9AEE65;
  --color-5: #B4FF7F;

  --color-bg: #F1FAEC;
  --color-surface: #E8F1E3;
  --color-border: #CED9C8;
  --color-text: #325826;
  --color-muted: #5E7059;
  --color-primary: #318700;
  --color-on-primary: #FFFFFF;
  --color-accent: #509B00;
  --color-on-accent: #000000;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #071305;
    --color-surface: #111D0D;
    --color-border: #23331F;
    --color-text: #D9EECC;
    --color-muted: #798870;
    --color-primary: #4CBB17;
    --color-on-primary: #071305;
    --color-accent: #B4FF7F;
    --color-on-accent: #071305;
  }
}

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 #B4FF7Fadjusted for contrast · from #4CBB17
Surfacederivedderived
Borderderivedderived
Textadjusted for contrast · from #4CBB17adjusted for contrast · from #B4FF7F
Muted textderivedderived
Primaryadjusted for contrast · from #4CBB17from palette · color 1
On primaryderivedderived
Accentadjusted for contrast · from #4CBB17from palette · color 5
On accentderivedderived

Contrast

Light mode
PairSampleRatioWCAG
Text on background7.67:1AAA pass 4.5:1
Text on surface7.08:1AAA pass 4.5:1
Muted text on background4.98:1AA pass 4.5:1
Label on primary4.57:1AA pass 4.5:1
Label on accent6.03:1AA pass 4.5:1
Primary on background4.27:1AA Large pass 3:1
Accent on background3.25:1AA Large pass 3:1
Dark mode
PairSampleRatioWCAG
Text on background15.44:1AAA pass 4.5:1
Text on surface14.15:1AAA pass 4.5:1
Muted text on background5.04:1AA pass 4.5:1
Label on primary7.63:1AAA pass 4.5:1
Label on accent15.89:1AAA pass 4.5:1
Primary on background7.63:1AAA pass 3:1
Accent on background15.89: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#4CBB17 (Text 1)#66CC31 (Text 2)#80DD4B (Text 3)#9AEE65 (Text 4)#B4FF7F (Text 5)
#4CBB17Same color1.22—1.47—1.76—2.08—
#66CC311.22—Same color1.21—1.44—1.71—
#80DD4B1.47—1.21—Same color1.20—1.42—
#9AEE651.76—1.44—1.20—Same color1.19—
#B4FF7F2.08—1.71—1.42—1.19—Same color

How to read contrast ratios (WCAG guide)

Shades

Shades and tints (50–950)

#4CBB17#66CC31#80DD4B#9AEE65#B4FF7F

Variations

About Shamrock

Shamrock is a balanced green palette of 5 colors that runs from pale green #B4FF7F to vivid green #4CBB17. With a hue spread of just 5°, it is effectively monochromatic: #4CBB17, #66CC31 and #80DD4B differ mostly in lightness. All five colors stay in a narrow light band (70% to 92% lightness, #4CBB17 to #B4FF7F), so text and background roles are adjusted for contrast. Saturation is high (mean OKLCH chroma 0.198, peaking at 0.212 in #4CBB17); the colors feel saturated and energetic. As a UI theme it uses #318700 for primary actions and #509B00 as the accent; dark mode sits on #071305 with #D9EECC text (15.4:1). With #4CBB17 leading, good fits include icons and logos, typography-led layouts and health and wellness apps.

Shamrock color palette: #4CBB17, #66CC31, #80DD4B, #9AEE65, #B4FF7F
Share image for Shamrock

Gradients in similar colors