PreviewingGo to this paletteOpen in generator
Code
/* Farmhouse Enamel — colorset.net */
:root {
--color-1: #F2EEE2;
--color-2: #4E7A8C;
--color-3: #D97B4A;
--color-4: #B9C4B0;
--color-5: #2A3338;
--color-bg: #F2EEE2;
--color-surface: #F8F5EE;
--color-border: #DAD5C6;
--color-text: #2A3338;
--color-muted: #616B71;
--color-primary: #B75D2A;
--color-on-primary: #FFFFFF;
--color-accent: #4E7A8C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0D1012;
--color-surface: #171A1C;
--color-border: #282F32;
--color-text: #F2EEE2;
--color-muted: #8A877C;
--color-primary: #D97B4A;
--color-on-primary: #0D1012;
--color-accent: #4E7A8C;
--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 #2A3338 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 5 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #D97B4A | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.11:1 | AAA pass 4.5:1 | |
| Text on surface | 11.84:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.70:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 3.92:1 | AA Large pass 3:1 | |
| Accent on background | 4.04:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.46:1 | AAA pass 4.5:1 | |
| Text on surface | 15.07:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.31:1 | AA pass 4.5:1 | |
| Label on primary | 6.26:1 | AA pass 4.5:1 | |
| Label on accent | 4.68:1 | AA pass 4.5:1 | |
| Primary on background | 6.26:1 | AA pass 3:1 | |
| Accent on background | 4.08: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 | #F2EEE2 (Text 1) | #4E7A8C (Text 2) | #D97B4A (Text 3) | #B9C4B0 (Text 4) | #2A3338 (Text 5) |
|---|---|---|---|---|---|
| #F2EEE2 | Same color | 4.04AA Large | 2.63— | 1.56— | 11.11AAA |
| #4E7A8C | 4.04AA Large | Same color | 1.53— | 2.58— | 2.75— |
| #D97B4A | 2.63— | 1.53— | Same color | 1.68— | 4.22AA Large |
| #B9C4B0 | 1.56— | 2.58— | 1.68— | Same color | 7.11AAA |
| #2A3338 | 11.11AAA | 2.75— | 4.22AA Large | 7.11AAA | Same color |
Shades
Shades and tints (50–950)
