PreviewingGo to this paletteOpen in generator
Code
/* Bamboo Shoot — colorset.net */
:root {
--color-1: #1A3300;
--color-2: #266600;
--color-3: #339900;
--color-4: #40CC00;
--color-5: #4DFF00;
--color-bg: #F0FAEE;
--color-surface: #E7F1E4;
--color-border: #CCD9CA;
--color-text: #1A3300;
--color-muted: #627059;
--color-primary: #248700;
--color-on-primary: #FFFFFF;
--color-accent: #266600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1204;
--color-surface: #131D0D;
--color-border: #26321E;
--color-text: #C5DFC0;
--color-muted: #768972;
--color-primary: #4DFF00;
--color-on-primary: #0A1204;
--color-accent: #53703E;
--color-on-accent: #FFFFFF;
}
}
Color values
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 |
Roles & contrast
Original colors are kept; roles are adjusted only when needed for contrast.
| Role | Light mode | Dark mode |
|---|---|---|
| Background | adjusted for contrast · from #4DFF00 | adjusted for contrast · from #1A3300 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #40CC00 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #339900 | from palette · color 5 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #266600 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.93:1 | AAA pass 4.5:1 | |
| Text on surface | 11.93:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.93:1 | AA pass 4.5:1 | |
| Label on primary | 4.62:1 | AA pass 4.5:1 | |
| Label on accent | 7.04:1 | AAA pass 4.5:1 | |
| Primary on background | 4.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.58:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.34:1 | AAA pass 4.5:1 | |
| Text on surface | 12.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 14.18:1 | AAA pass 4.5:1 | |
| Label on accent | 5.59:1 | AA pass 4.5:1 | |
| Primary on background | 14.18:1 | AAA pass 3:1 | |
| Accent on background | 3.41:1 | AA 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.
| Background / Text | #1A3300 (Text 1) | #266600 (Text 2) | #339900 (Text 3) | #40CC00 (Text 4) | #4DFF00 (Text 5) |
|---|---|---|---|---|---|
| #1A3300 | Same color | 1.97— | 3.75AA Large | 6.49AA | 10.29AAA |
| #266600 | 1.97— | Same color | 1.91— | 3.30AA Large | 5.24AA |
| #339900 | 3.75AA Large | 1.91— | Same color | 1.73— | 2.74— |
| #40CC00 | 6.49AA | 3.30AA Large | 1.73— | Same color | 1.58— |
| #4DFF00 | 10.29AAA | 5.24AA | 2.74— | 1.58— | Same color |
Shades
Shades and tints (50–950)
