PreviewingGo to this paletteOpen in generator
Code
/* Oyster White — colorset.net */
:root {
--color-1: #E5E4E2;
--color-2: #F0EAD6;
--color-3: #F5F5DC;
--color-4: #FAF0E6;
--color-5: #FFF8DC;
--color-bg: #FFF8DC;
--color-surface: #F6EFD3;
--color-border: #DDD6B9;
--color-text: #504F4E;
--color-muted: #6C6B6A;
--color-primary: #8E8876;
--color-on-primary: #000000;
--color-accent: #5C5749;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0F;
--color-surface: #1A1919;
--color-border: #2F2E2A;
--color-text: #FFF8DC;
--color-muted: #928C72;
--color-primary: #F0EAD6;
--color-on-primary: #100F0F;
--color-accent: #B8B3A3;
--color-on-accent: #100F0F;
}
}
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 #E5E4E2 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #E5E4E2 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #E5E4E2 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #E5E4E2 | adjusted for contrast · from #E5E4E2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.67:1 | AAA pass 4.5:1 | |
| Text on surface | 7.09:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 5.93:1 | AA pass 4.5:1 | |
| Label on accent | 7.21:1 | AAA pass 4.5:1 | |
| Primary on background | 3.32:1 | AA Large pass 3:1 | |
| Accent on background | 6.76:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.97:1 | AAA pass 4.5:1 | |
| Text on surface | 16.47:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.67:1 | AA pass 4.5:1 | |
| Label on primary | 15.90:1 | AAA pass 4.5:1 | |
| Label on accent | 9.13:1 | AAA pass 4.5:1 | |
| Primary on background | 15.90:1 | AAA pass 3:1 | |
| Accent on background | 9.13: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 | #E5E4E2 (Text 1) | #F0EAD6 (Text 2) | #F5F5DC (Text 3) | #FAF0E6 (Text 4) | #FFF8DC (Text 5) |
|---|---|---|---|---|---|
| #E5E4E2 | Same color | 1.06— | 1.15— | 1.13— | 1.19— |
| #F0EAD6 | 1.06— | Same color | 1.09— | 1.07— | 1.13— |
| #F5F5DC | 1.15— | 1.09— | Same color | 1.02— | 1.04— |
| #FAF0E6 | 1.13— | 1.07— | 1.02— | Same color | 1.06— |
| #FFF8DC | 1.19— | 1.13— | 1.04— | 1.06— | Same color |
Shades
Shades and tints (50–950)
