PreviewingGo to this paletteOpen in generator
Code
/* Oat Latte — colorset.net */
:root {
--color-1: #F2E6D6;
--color-2: #E3C9AB;
--color-3: #D3A784;
--color-4: #E0BEB8;
--color-5: #9E7660;
--color-bg: #F2E6D6;
--color-surface: #F5EEE4;
--color-border: #DBCDBA;
--color-text: #68432F;
--color-muted: #7B6153;
--color-primary: #9E7660;
--color-on-primary: #000000;
--color-accent: #674836;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180C06;
--color-surface: #23160F;
--color-border: #3A2A21;
--color-text: #F2E6D6;
--color-muted: #8C8273;
--color-primary: #9E7660;
--color-on-primary: #180C06;
--color-accent: #E3C9AB;
--color-on-accent: #180C06;
}
}
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 #9E7660 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #9E7660 | from palette · color 1 |
| Muted text | derived | derived |
| Primary | from palette · color 5 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #9E7660 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.02:1 | AAA pass 4.5:1 | |
| Text on surface | 7.50:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 5.21:1 | AA pass 4.5:1 | |
| Label on accent | 8.21:1 | AAA pass 4.5:1 | |
| Primary on background | 3.27:1 | AA Large pass 3:1 | |
| Accent on background | 6.67:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.60:1 | AAA pass 4.5:1 | |
| Text on surface | 14.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 4.77:1 | AA pass 4.5:1 | |
| Label on accent | 12.07:1 | AAA pass 4.5:1 | |
| Primary on background | 4.77:1 | AA pass 3:1 | |
| Accent on background | 12.07:1 | AAA 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 | #F2E6D6 (Text 1) | #E3C9AB (Text 2) | #D3A784 (Text 3) | #E0BEB8 (Text 4) | #9E7660 (Text 5) |
|---|---|---|---|---|---|
| #F2E6D6 | Same color | 1.29— | 1.77— | 1.40— | 3.27AA Large |
| #E3C9AB | 1.29— | Same color | 1.37— | 1.08— | 2.53— |
| #D3A784 | 1.77— | 1.37— | Same color | 1.27— | 1.85— |
| #E0BEB8 | 1.40— | 1.08— | 1.27— | Same color | 2.34— |
| #9E7660 | 3.27AA Large | 2.53— | 1.85— | 2.34— | Same color |
Shades
Shades and tints (50–950)
