PreviewingGo to this paletteOpen in generator
Code
/* Dawn Yellow — colorset.net */
:root {
--color-1: #FFE4B5;
--color-2: #FFEFD5;
--color-3: #FFF8DC;
--color-4: #FFFACD;
--color-5: #FFFFE0;
--color-bg: #FFFFE0;
--color-surface: #F6F6D7;
--color-border: #DDDDBF;
--color-text: #654E23;
--color-muted: #7B6D55;
--color-primary: #A1885C;
--color-on-primary: #000000;
--color-accent: #6B5734;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150E03;
--color-surface: #20180A;
--color-border: #362C1B;
--color-text: #FFFFE0;
--color-muted: #909074;
--color-primary: #FFE4B5;
--color-on-primary: #150E03;
--color-accent: #C4AE88;
--color-on-accent: #150E03;
}
}
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 #FFE4B5 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFE4B5 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFE4B5 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFE4B5 | adjusted for contrast · from #FFE4B5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.74:1 | AAA pass 4.5:1 | |
| Text on surface | 7.15:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96: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.79:1 | AA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 18.82:1 | AAA pass 4.5:1 | |
| Text on surface | 17.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.86:1 | AA pass 4.5:1 | |
| Label on primary | 15.53:1 | AAA pass 4.5:1 | |
| Label on accent | 8.90:1 | AAA pass 4.5:1 | |
| Primary on background | 15.53:1 | AAA pass 3:1 | |
| Accent on background | 8.90: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 | #FFE4B5 (Text 1) | #FFEFD5 (Text 2) | #FFF8DC (Text 3) | #FFFACD (Text 4) | #FFFFE0 (Text 5) |
|---|---|---|---|---|---|
| #FFE4B5 | Same color | 1.09— | 1.16— | 1.16— | 1.21— |
| #FFEFD5 | 1.09— | Same color | 1.06— | 1.07— | 1.11— |
| #FFF8DC | 1.16— | 1.06— | Same color | 1.00— | 1.05— |
| #FFFACD | 1.16— | 1.07— | 1.00— | Same color | 1.04— |
| #FFFFE0 | 1.21— | 1.11— | 1.05— | 1.04— | Same color |
Shades
Shades and tints (50–950)
