PreviewingGo to this paletteOpen in generator
Code
/* Beach Yellow — colorset.net */
:root {
--color-1: #FFEAA7;
--color-2: #FFF0B8;
--color-3: #FFF6C9;
--color-4: #FFFCDA;
--color-5: #FFFFEB;
--color-bg: #FFFFEB;
--color-surface: #F6F6E2;
--color-border: #DDDDC6;
--color-text: #635005;
--color-muted: #776F55;
--color-primary: #9E8A4A;
--color-on-primary: #000000;
--color-accent: #8F8F7D;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #FFFFEB;
--color-muted: #90907E;
--color-primary: #FFEAA7;
--color-on-primary: #150F00;
--color-accent: #C4B37D;
--color-on-accent: #150F00;
}
}
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 #FFEAA7 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEAA7 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEAA7 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEAA7 | adjusted for contrast · from #FFEAA7 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.16:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.95:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 6.39:1 | AA pass 4.5:1 | |
| Primary on background | 3.35:1 | AA Large pass 3:1 | |
| Accent on background | 3.25:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.87:1 | AAA pass 4.5:1 | |
| Text on surface | 17.30:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.89:1 | AA pass 4.5:1 | |
| Label on primary | 15.98:1 | AAA pass 4.5:1 | |
| Label on accent | 9.17:1 | AAA pass 4.5:1 | |
| Primary on background | 15.98:1 | AAA pass 3:1 | |
| Accent on background | 9.17: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 | #FFEAA7 (Text 1) | #FFF0B8 (Text 2) | #FFF6C9 (Text 3) | #FFFCDA (Text 4) | #FFFFEB (Text 5) |
|---|---|---|---|---|---|
| #FFEAA7 | Same color | 1.05— | 1.10— | 1.15— | 1.18— |
| #FFF0B8 | 1.05— | Same color | 1.05— | 1.10— | 1.13— |
| #FFF6C9 | 1.10— | 1.05— | Same color | 1.05— | 1.08— |
| #FFFCDA | 1.15— | 1.10— | 1.05— | Same color | 1.03— |
| #FFFFEB | 1.18— | 1.13— | 1.08— | 1.03— | Same color |
Shades
Shades and tints (50–950)
