PreviewingGo to this paletteOpen in generator
Code
/* Pampas Grass — colorset.net */
:root {
--color-1: #F5EEE3;
--color-2: #D9C4A6;
--color-3: #B08968;
--color-4: #9A8C7A;
--color-5: #5C4A3D;
--color-bg: #F5EEE3;
--color-surface: #FAF6EF;
--color-border: #DED5C7;
--color-text: #5C4A3D;
--color-muted: #7C695B;
--color-primary: #A7805F;
--color-on-primary: #000000;
--color-accent: #6F5136;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #140E0A;
--color-surface: #1E1814;
--color-border: #352C25;
--color-text: #F5EEE3;
--color-muted: #8D867C;
--color-primary: #B08968;
--color-on-primary: #140E0A;
--color-accent: #766355;
--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 #5C4A3D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B08968 | from palette · color 3 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #5C4A3D | adjusted for contrast · from #5C4A3D |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.28:1 | AAA pass 4.5:1 | |
| Text on surface | 7.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.52:1 | AA pass 4.5:1 | |
| Label on primary | 5.90:1 | AA pass 4.5:1 | |
| Label on accent | 7.23:1 | AAA pass 4.5:1 | |
| Primary on background | 3.09:1 | AA Large pass 3:1 | |
| Accent on background | 6.27:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.61:1 | AAA pass 4.5:1 | |
| Text on surface | 15.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.32:1 | AA pass 4.5:1 | |
| Label on primary | 6.04:1 | AA pass 4.5:1 | |
| Label on accent | 5.70:1 | AA pass 4.5:1 | |
| Primary on background | 6.04:1 | AA pass 3:1 | |
| Accent on background | 3.36: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 | #F5EEE3 (Text 1) | #D9C4A6 (Text 2) | #B08968 (Text 3) | #9A8C7A (Text 4) | #5C4A3D (Text 5) |
|---|---|---|---|---|---|
| #F5EEE3 | Same color | 1.47— | 2.75— | 2.84— | 7.28AAA |
| #D9C4A6 | 1.47— | Same color | 1.87— | 1.94— | 4.95AA |
| #B08968 | 2.75— | 1.87— | Same color | 1.03— | 2.65— |
| #9A8C7A | 2.84— | 1.94— | 1.03— | Same color | 2.56— |
| #5C4A3D | 7.28AAA | 4.95AA | 2.65— | 2.56— | Same color |
Shades
Shades and tints (50–950)
