PreviewingGo to this paletteOpen in generator
Code
/* Warm Oatmilk — colorset.net */
:root {
--color-1: #F5E6D3;
--color-2: #F8ECDB;
--color-3: #FBF2E3;
--color-4: #FEF8EB;
--color-5: #FFFEF3;
--color-bg: #FFFEF3;
--color-surface: #F6F5EA;
--color-border: #DDDCCE;
--color-text: #5D5141;
--color-muted: #7B6E5D;
--color-primary: #988A79;
--color-on-primary: #000000;
--color-accent: #64594C;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #130F0A;
--color-surface: #1D1913;
--color-border: #332D24;
--color-text: #FFFEF3;
--color-muted: #908F85;
--color-primary: #F5E6D3;
--color-on-primary: #130F0A;
--color-accent: #BCB0A0;
--color-on-accent: #130F0A;
}
}
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 5 | adjusted for contrast · from #F5E6D3 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F5E6D3 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F5E6D3 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F5E6D3 | adjusted for contrast · from #F5E6D3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.90:1 | AA pass 4.5:1 | |
| Label on primary | 6.25:1 | AA pass 4.5:1 | |
| Label on accent | 6.83:1 | AA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.74:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.83:1 | AAA pass 4.5:1 | |
| Text on surface | 17.26:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.86:1 | AA pass 4.5:1 | |
| Label on primary | 15.58:1 | AAA pass 4.5:1 | |
| Label on accent | 8.96:1 | AAA pass 4.5:1 | |
| Primary on background | 15.58:1 | AAA pass 3:1 | |
| Accent on background | 8.96: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 | #F5E6D3 (Text 1) | #F8ECDB (Text 2) | #FBF2E3 (Text 3) | #FEF8EB (Text 4) | #FFFEF3 (Text 5) |
|---|---|---|---|---|---|
| #F5E6D3 | Same color | 1.05— | 1.10— | 1.16— | 1.21— |
| #F8ECDB | 1.05— | Same color | 1.05— | 1.10— | 1.15— |
| #FBF2E3 | 1.10— | 1.05— | Same color | 1.05— | 1.10— |
| #FEF8EB | 1.16— | 1.10— | 1.05— | Same color | 1.04— |
| #FFFEF3 | 1.21— | 1.15— | 1.10— | 1.04— | Same color |
Shades
Shades and tints (50–950)
