PreviewingGo to this paletteOpen in generator
Code
/* Opal White — colorset.net */
:root {
--color-1: #EEEBE4;
--color-2: #F4F2ED;
--color-3: #FAF9F6;
--color-4: #FFFFFB;
--color-5: #FFFFFF;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #55524D;
--color-muted: #73706A;
--color-primary: #8F8C86;
--color-on-primary: #000000;
--color-accent: #5D5B56;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #100F0D;
--color-surface: #1A1917;
--color-border: #302E29;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #EEEBE4;
--color-on-primary: #100F0D;
--color-accent: #B6B4AE;
--color-on-accent: #100F0D;
}
}
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 #EEEBE4 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #EEEBE4 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #EEEBE4 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #EEEBE4 | adjusted for contrast · from #EEEBE4 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.78:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.94:1 | AA pass 4.5:1 | |
| Label on primary | 6.26:1 | AA pass 4.5:1 | |
| Label on accent | 6.78:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 6.78:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.16:1 | AAA pass 4.5:1 | |
| Text on surface | 17.57:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.92:1 | AA pass 4.5:1 | |
| Label on primary | 16.09:1 | AAA pass 4.5:1 | |
| Label on accent | 9.24:1 | AAA pass 4.5:1 | |
| Primary on background | 16.09:1 | AAA pass 3:1 | |
| Accent on background | 9.24: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 | #EEEBE4 (Text 1) | #F4F2ED (Text 2) | #FAF9F6 (Text 3) | #FFFFFB (Text 4) | #FFFFFF (Text 5) |
|---|---|---|---|---|---|
| #EEEBE4 | Same color | 1.06— | 1.13— | 1.19— | 1.19— |
| #F4F2ED | 1.06— | Same color | 1.06— | 1.12— | 1.12— |
| #FAF9F6 | 1.13— | 1.06— | Same color | 1.05— | 1.05— |
| #FFFFFB | 1.19— | 1.12— | 1.05— | Same color | 1.00— |
| #FFFFFF | 1.19— | 1.12— | 1.05— | 1.00— | Same color |
Shades
Shades and tints (50–950)
