PreviewingGo to this paletteOpen in generator
Code
/* Ginger Spice — colorset.net */
:root {
--color-1: #B66D0D;
--color-2: #CD7F32;
--color-3: #E89923;
--color-4: #FFAD41;
--color-5: #FFCB77;
--color-bg: #FEF6E8;
--color-surface: #F5ECDF;
--color-border: #DED3C3;
--color-text: #72440E;
--color-muted: #7D6754;
--color-primary: #AB6500;
--color-on-primary: #FFFFFF;
--color-accent: #BE7900;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0C01;
--color-surface: #251607;
--color-border: #3C2918;
--color-text: #E7D1B0;
--color-muted: #908067;
--color-primary: #AB6500;
--color-on-primary: #FFFFFF;
--color-accent: #FFCB77;
--color-on-accent: #1A0C01;
}
}
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 #FFCB77 | adjusted for contrast · from #B66D0D |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B66D0D | adjusted for contrast · from #FFCB77 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B66D0D | adjusted for contrast · from #B66D0D |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B66D0D | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.68:1 | AAA pass 4.5:1 | |
| Text on surface | 7.04:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 5.92:1 | AA pass 4.5:1 | |
| Primary on background | 4.26:1 | AA Large pass 3:1 | |
| Accent on background | 3.30:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.89:1 | AAA pass 4.5:1 | |
| Text on surface | 11.82:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.57:1 | AA pass 4.5:1 | |
| Label on accent | 12.82:1 | AAA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 12.82: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 | #B66D0D (Text 1) | #CD7F32 (Text 2) | #E89923 (Text 3) | #FFAD41 (Text 4) | #FFCB77 (Text 5) |
|---|---|---|---|---|---|
| #B66D0D | Same color | 1.29— | 1.74— | 2.18— | 2.71— |
| #CD7F32 | 1.29— | Same color | 1.35— | 1.69— | 2.11— |
| #E89923 | 1.74— | 1.35— | Same color | 1.25— | 1.56— |
| #FFAD41 | 2.18— | 1.69— | 1.25— | Same color | 1.24— |
| #FFCB77 | 2.71— | 2.11— | 1.56— | 1.24— | Same color |
Shades
Shades and tints (50–950)
