PreviewingGo to this paletteOpen in generator
Code
/* Beach Holiday — colorset.net */
:root {
--color-1: #F4A460;
--color-2: #00CED1;
--color-3: #87CEEB;
--color-4: #FFFFFF;
--color-5: #FFD700;
--color-bg: #FFFFFF;
--color-surface: #F6F6F6;
--color-border: #E0DCDD;
--color-text: #005C5E;
--color-muted: #537677;
--color-primary: #A78C00;
--color-on-primary: #000000;
--color-accent: #009DA0;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #001314;
--color-surface: #011E1F;
--color-border: #113435;
--color-text: #FFFFFF;
--color-muted: #8F8F8F;
--color-primary: #FFD700;
--color-on-primary: #001314;
--color-accent: #00CED1;
--color-on-accent: #001314;
}
}
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 4 | adjusted for contrast · from #00CED1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #00CED1 | from palette · color 4 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F4A460 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #00CED1 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.80:1 | AAA pass 4.5:1 | |
| Text on surface | 7.22:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 6.39:1 | AA pass 4.5:1 | |
| Label on accent | 6.33:1 | AA pass 4.5:1 | |
| Primary on background | 3.28:1 | AA Large pass 3:1 | |
| Accent on background | 3.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 19.03:1 | AAA pass 4.5:1 | |
| Text on surface | 17.40:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 13.57:1 | AAA pass 4.5:1 | |
| Label on accent | 9.74:1 | AAA pass 4.5:1 | |
| Primary on background | 13.57:1 | AAA pass 3:1 | |
| Accent on background | 9.74: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 | #F4A460 (Text 1) | #00CED1 (Text 2) | #87CEEB (Text 3) | #FFFFFF (Text 4) | #FFD700 (Text 5) |
|---|---|---|---|---|---|
| #F4A460 | Same color | 1.04— | 1.17— | 2.03— | 1.45— |
| #00CED1 | 1.04— | Same color | 1.12— | 1.95— | 1.39— |
| #87CEEB | 1.17— | 1.12— | Same color | 1.74— | 1.24— |
| #FFFFFF | 2.03— | 1.95— | 1.74— | Same color | 1.40— |
| #FFD700 | 1.45— | 1.39— | 1.24— | 1.40— | Same color |
Shades
Shades and tints (50–950)
