PreviewingGo to this paletteOpen in generator
Code
/* Sand Yellow — colorset.net */
:root {
--color-1: #FFDD99;
--color-2: #FFEEAA;
--color-3: #FFFFBB;
--color-4: #FFFFCC;
--color-5: #FFFFDD;
--color-bg: #FFFFDD;
--color-surface: #F6F6D4;
--color-border: #DDDDBF;
--color-text: #6A4E01;
--color-muted: #7A6E55;
--color-primary: #A78745;
--color-on-primary: #000000;
--color-accent: #70561F;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #160E00;
--color-surface: #211805;
--color-border: #372C15;
--color-text: #FFFFDD;
--color-muted: #909074;
--color-primary: #FFDD99;
--color-on-primary: #160E00;
--color-accent: #C3A770;
--color-on-accent: #160E00;
}
}
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 #FFDD99 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFDD99 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFDD99 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFDD99 | adjusted for contrast · from #FFDD99 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.05:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 6.19:1 | AA pass 4.5:1 | |
| Label on accent | 6.91:1 | AA pass 4.5:1 | |
| Primary on background | 3.33:1 | AA Large pass 3:1 | |
| Accent on background | 6.78:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.78:1 | AAA pass 4.5:1 | |
| Text on surface | 17.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.86:1 | AA pass 4.5:1 | |
| Label on primary | 14.64:1 | AAA pass 4.5:1 | |
| Label on accent | 8.28:1 | AAA pass 4.5:1 | |
| Primary on background | 14.64:1 | AAA pass 3:1 | |
| Accent on background | 8.28: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 | #FFDD99 (Text 1) | #FFEEAA (Text 2) | #FFFFBB (Text 3) | #FFFFCC (Text 4) | #FFFFDD (Text 5) |
|---|---|---|---|---|---|
| #FFDD99 | Same color | 1.13— | 1.26— | 1.27— | 1.28— |
| #FFEEAA | 1.13— | Same color | 1.12— | 1.13— | 1.14— |
| #FFFFBB | 1.26— | 1.12— | Same color | 1.01— | 1.02— |
| #FFFFCC | 1.27— | 1.13— | 1.01— | Same color | 1.01— |
| #FFFFDD | 1.28— | 1.14— | 1.02— | 1.01— | Same color |
Shades
Shades and tints (50–950)
