PreviewingGo to this paletteOpen in generator
Code
/* Terracotta Villa — colorset.net */
:root {
--color-1: #FBF0E4;
--color-2: #DA7134;
--color-3: #6C9264;
--color-4: #713E26;
--color-5: #221812;
--color-bg: #FBF0E4;
--color-surface: #FFF8F1;
--color-border: #E4D7C8;
--color-text: #221812;
--color-muted: #766962;
--color-primary: #D76E30;
--color-on-primary: #221812;
--color-accent: #6C9264;
--color-on-accent: #221812;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #221812;
--color-surface: #2D231C;
--color-border: #45372F;
--color-text: #FBF0E4;
--color-muted: #978D82;
--color-primary: #DA7134;
--color-on-primary: #221812;
--color-accent: #6C9264;
--color-on-accent: #221812;
}
}
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 | 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 #DA7134 | from palette · color 2 |
| 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 | 15.48:1 | AAA pass 4.5:1 | |
| Text on surface | 16.52:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.71:1 | AA pass 4.5:1 | |
| Label on primary | 5.10:1 | AA pass 4.5:1 | |
| Label on accent | 4.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.03:1 | AA Large pass 3:1 | |
| Accent on background | 3.15:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.48:1 | AAA pass 4.5:1 | |
| Text on surface | 13.65:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.34:1 | AA pass 4.5:1 | |
| Label on primary | 5.29:1 | AA pass 4.5:1 | |
| Label on accent | 4.91:1 | AA pass 4.5:1 | |
| Primary on background | 5.29:1 | AA pass 3:1 | |
| Accent on background | 4.91:1 | AA 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 | #FBF0E4 (Text 1) | #DA7134 (Text 2) | #6C9264 (Text 3) | #713E26 (Text 4) | #221812 (Text 5) |
|---|---|---|---|---|---|
| #FBF0E4 | Same color | 2.92— | 3.15AA Large | 7.72AAA | 15.48AAA |
| #DA7134 | 2.92— | Same color | 1.08— | 2.64— | 5.29AA |
| #6C9264 | 3.15AA Large | 1.08— | Same color | 2.45— | 4.91AA |
| #713E26 | 7.72AAA | 2.64— | 2.45— | Same color | 2.00— |
| #221812 | 15.48AAA | 5.29AA | 4.91AA | 2.00— | Same color |
Shades
Shades and tints (50–950)
