PreviewingGo to this paletteOpen in generator
Code
/* Emerald Terrazzo — colorset.net */
:root {
--color-1: #EFEDE6;
--color-2: #0E6B50;
--color-3: #D1A54F;
--color-4: #C9C5B9;
--color-5: #1A211E;
--color-bg: #EFEDE6;
--color-surface: #F5F4F0;
--color-border: #D7D4CA;
--color-text: #1A211E;
--color-muted: #656D69;
--color-primary: #986E02;
--color-on-primary: #FFFFFF;
--color-accent: #0E6B50;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A211E;
--color-surface: #252C29;
--color-border: #37433E;
--color-text: #EFEDE6;
--color-muted: #94928B;
--color-primary: #D1A54F;
--color-on-primary: #1A211E;
--color-accent: #308366;
--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 | 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 #0E6B50 | from palette · color 3 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #0E6B50 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.00:1 | AAA pass 4.5:1 | |
| Text on surface | 14.90:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.54:1 | AA pass 4.5:1 | |
| Label on primary | 4.60:1 | AA pass 4.5:1 | |
| Label on accent | 6.49:1 | AA pass 4.5:1 | |
| Primary on background | 3.93:1 | AA Large pass 3:1 | |
| Accent on background | 5.54:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.00:1 | AAA pass 4.5:1 | |
| Text on surface | 12.19:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.27:1 | AA pass 4.5:1 | |
| Label on primary | 7.19:1 | AAA pass 4.5:1 | |
| Label on accent | 4.60:1 | AA pass 4.5:1 | |
| Primary on background | 7.19:1 | AAA pass 3:1 | |
| Accent on background | 3.57: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 | #EFEDE6 (Text 1) | #0E6B50 (Text 2) | #D1A54F (Text 3) | #C9C5B9 (Text 4) | #1A211E (Text 5) |
|---|---|---|---|---|---|
| #EFEDE6 | Same color | 5.54AA | 1.95— | 1.47— | 14.00AAA |
| #0E6B50 | 5.54AA | Same color | 2.84— | 3.76AA Large | 2.53— |
| #D1A54F | 1.95— | 2.84— | Same color | 1.32— | 7.19AAA |
| #C9C5B9 | 1.47— | 3.76AA Large | 1.32— | Same color | 9.51AAA |
| #1A211E | 14.00AAA | 2.53— | 7.19AAA | 9.51AAA | Same color |
Shades
Shades and tints (50–950)
