PreviewingGo to this paletteOpen in generator
Code
/* Bamboo Shade — colorset.net */
:root {
--color-1: #EEF0E6;
--color-2: #7C8F4F;
--color-3: #5E6F8C;
--color-4: #CFD3C2;
--color-5: #262A20;
--color-bg: #EEF0E6;
--color-surface: #F6F7F1;
--color-border: #D5D8CA;
--color-text: #262A20;
--color-muted: #696E62;
--color-primary: #6B7D3D;
--color-on-primary: #FFFFFF;
--color-accent: #5E6F8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0F100C;
--color-surface: #191A16;
--color-border: #2C2F28;
--color-text: #EEF0E6;
--color-muted: #86887F;
--color-primary: #6B7D3D;
--color-on-primary: #FFFFFF;
--color-accent: #5E6F8C;
--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 | from palette · color 1 | adjusted for contrast · from #262A20 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #7C8F4F | adjusted for contrast · from #7C8F4F |
| On primary | derived | derived |
| Accent | from palette · color 3 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.72:1 | AAA pass 4.5:1 | |
| Text on surface | 13.59:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.55:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.09:1 | AA pass 4.5:1 | |
| Primary on background | 3.94:1 | AA Large pass 3:1 | |
| Accent on background | 4.42:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.59:1 | AAA pass 4.5:1 | |
| Text on surface | 15.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 4.54:1 | AA pass 4.5:1 | |
| Label on accent | 5.09:1 | AA pass 4.5:1 | |
| Primary on background | 4.21:1 | AA Large pass 3:1 | |
| Accent on background | 3.75: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 | #EEF0E6 (Text 1) | #7C8F4F (Text 2) | #5E6F8C (Text 3) | #CFD3C2 (Text 4) | #262A20 (Text 5) |
|---|---|---|---|---|---|
| #EEF0E6 | Same color | 3.09AA Large | 4.42AA Large | 1.33— | 12.72AAA |
| #7C8F4F | 3.09AA Large | Same color | 1.43— | 2.33— | 4.11AA Large |
| #5E6F8C | 4.42AA Large | 1.43— | Same color | 3.33AA Large | 2.88— |
| #CFD3C2 | 1.33— | 2.33— | 3.33AA Large | Same color | 9.59AAA |
| #262A20 | 12.72AAA | 4.11AA Large | 2.88— | 9.59AAA | Same color |
Shades
Shades and tints (50–950)
