PreviewingGo to this paletteOpen in generator
Code
/* Coastal Beige — colorset.net */
:root {
--color-1: #F5F5DC;
--color-2: #E6E6FA;
--color-3: #D3D3D3;
--color-4: #B0C4DE;
--color-5: #F0F8FF;
--color-bg: #F0F8FF;
--color-surface: #E7EFF6;
--color-border: #CCD6E0;
--color-text: #3E4F65;
--color-muted: #5B6C82;
--color-primary: #7689A1;
--color-on-primary: #000000;
--color-accent: #898972;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #0A1017;
--color-surface: #141A21;
--color-border: #262E39;
--color-text: #F0F8FF;
--color-muted: #858C93;
--color-primary: #B0C4DE;
--color-on-primary: #0A1017;
--color-accent: #D3D3D3;
--color-on-accent: #0A1017;
}
}
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 #B0C4DE |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B0C4DE | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B0C4DE | from palette · color 4 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B0C4DE | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.00:1 | AA pass 4.5:1 | |
| Label on primary | 5.86:1 | AA pass 4.5:1 | |
| Label on accent | 5.88:1 | AA pass 4.5:1 | |
| Primary on background | 3.34:1 | AA Large pass 3:1 | |
| Accent on background | 3.33:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.81:1 | AAA pass 4.5:1 | |
| Text on surface | 16.32:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.61:1 | AA pass 4.5:1 | |
| Label on primary | 10.73:1 | AAA pass 4.5:1 | |
| Label on accent | 12.76:1 | AAA pass 4.5:1 | |
| Primary on background | 10.73:1 | AAA pass 3:1 | |
| Accent on background | 12.76: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 | #F5F5DC (Text 1) | #E6E6FA (Text 2) | #D3D3D3 (Text 3) | #B0C4DE (Text 4) | #F0F8FF (Text 5) |
|---|---|---|---|---|---|
| #F5F5DC | Same color | 1.11— | 1.35— | 1.61— | 1.03— |
| #E6E6FA | 1.11— | Same color | 1.22— | 1.45— | 1.15— |
| #D3D3D3 | 1.35— | 1.22— | Same color | 1.19— | 1.40— |
| #B0C4DE | 1.61— | 1.45— | 1.19— | Same color | 1.66— |
| #F0F8FF | 1.03— | 1.15— | 1.40— | 1.66— | Same color |
Shades
Shades and tints (50–950)
