PreviewingGo to this paletteOpen in generator
Code
/* Prairie Fence Post — colorset.net */
:root {
--color-1: #F0E7D2;
--color-2: #816339;
--color-3: #5C4221;
--color-4: #8F914E;
--color-5: #2D1F0A;
--color-bg: #F9F7F0;
--color-surface: #F0EDE7;
--color-border: #D9D4CB;
--color-text: #2D1F0A;
--color-muted: #786851;
--color-primary: #777936;
--color-on-primary: #FFFFFF;
--color-accent: #5C4221;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #2D1F0A;
--color-surface: #392A15;
--color-border: #4F402A;
--color-text: #F0E7D2;
--color-muted: #9B937F;
--color-primary: #8F914E;
--color-on-primary: #2D1F0A;
--color-accent: #8E7250;
--color-on-accent: #000000;
}
}
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 #F0E7D2 | from palette · color 5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #816339 | from palette · color 4 |
| On primary | derived | derived |
| Accent | from palette · color 3 | adjusted for contrast · from #816339 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.93:1 | AAA pass 4.5:1 | |
| Text on surface | 13.70:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.59:1 | AA pass 4.5:1 | |
| Label on accent | 9.31:1 | AAA pass 4.5:1 | |
| Primary on background | 4.28:1 | AA Large pass 3:1 | |
| Accent on background | 8.68:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.01:1 | AAA pass 4.5:1 | |
| Text on surface | 11.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.24:1 | AA pass 4.5:1 | |
| Label on primary | 4.82:1 | AA pass 4.5:1 | |
| Label on accent | 4.67:1 | AA pass 4.5:1 | |
| Primary on background | 4.82:1 | AA pass 3:1 | |
| Accent on background | 3.56: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 | #F0E7D2 (Text 1) | #816339 (Text 2) | #5C4221 (Text 3) | #8F914E (Text 4) | #2D1F0A (Text 5) |
|---|---|---|---|---|---|
| #F0E7D2 | Same color | 4.52AA | 7.56AAA | 2.70— | 13.01AAA |
| #816339 | 4.52AA | Same color | 1.67— | 1.68— | 2.88— |
| #5C4221 | 7.56AAA | 1.67— | Same color | 2.80— | 1.72— |
| #8F914E | 2.70— | 1.68— | 2.80— | Same color | 4.82AA |
| #2D1F0A | 13.01AAA | 2.88— | 1.72— | 4.82AA | Same color |
Shades
Shades and tints (50–950)
