PreviewingGo to this paletteOpen in generator
Code
/* Beach Glass Teal — colorset.net */
:root {
--color-1: #87CEEB;
--color-2: #98D8E8;
--color-3: #A9E2E5;
--color-4: #BAECE2;
--color-5: #CBF6DF;
--color-bg: #EEFAF3;
--color-surface: #E5F1EA;
--color-border: #C9D9D1;
--color-text: #00546C;
--color-muted: #506E7B;
--color-primary: #4B92AD;
--color-on-primary: #000000;
--color-accent: #68907B;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #00121A;
--color-surface: #061C25;
--color-border: #17323C;
--color-text: #CDF5E0;
--color-muted: #708C7D;
--color-primary: #87CEEB;
--color-on-primary: #00121A;
--color-accent: #A9E2E5;
--color-on-accent: #00121A;
}
}
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 | adjusted for contrast · from #CBF6DF | adjusted for contrast · from #87CEEB |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #87CEEB | adjusted for contrast · from #CBF6DF |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #87CEEB | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #87CEEB | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.89:1 | AAA pass 4.5:1 | |
| Text on surface | 7.29:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.08:1 | AA pass 4.5:1 | |
| Label on primary | 6.01:1 | AA pass 4.5:1 | |
| Label on accent | 5.86:1 | AA pass 4.5:1 | |
| Primary on background | 3.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.10:1 | AAA pass 4.5:1 | |
| Text on surface | 14.77:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.21:1 | AA pass 4.5:1 | |
| Label on primary | 10.95:1 | AAA pass 4.5:1 | |
| Label on accent | 13.34:1 | AAA pass 4.5:1 | |
| Primary on background | 10.95:1 | AAA pass 3:1 | |
| Accent on background | 13.34: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 | #87CEEB (Text 1) | #98D8E8 (Text 2) | #A9E2E5 (Text 3) | #BAECE2 (Text 4) | #CBF6DF (Text 5) |
|---|---|---|---|---|---|
| #87CEEB | Same color | 1.10— | 1.22— | 1.34— | 1.48— |
| #98D8E8 | 1.10— | Same color | 1.10— | 1.21— | 1.34— |
| #A9E2E5 | 1.22— | 1.10— | Same color | 1.10— | 1.21— |
| #BAECE2 | 1.34— | 1.21— | 1.10— | Same color | 1.10— |
| #CBF6DF | 1.48— | 1.34— | 1.21— | 1.10— | Same color |
Shades
Shades and tints (50–950)
