PreviewingGo to this paletteOpen in generator
Code
/* Brown Sugar — colorset.net */
:root {
--color-1: #241A14;
--color-2: #F08A3E;
--color-3: #7DA27A;
--color-4: #4A3627;
--color-5: #F2E6D2;
--color-bg: #FAF6F0;
--color-surface: #F1EDE7;
--color-border: #DAD4CB;
--color-text: #241A14;
--color-muted: #766962;
--color-primary: #BA5D00;
--color-on-primary: #FFFFFF;
--color-accent: #6B9068;
--color-on-accent: #241A14;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #241A14;
--color-surface: #2F251E;
--color-border: #473931;
--color-text: #F2E6D2;
--color-muted: #978C7A;
--color-primary: #F08A3E;
--color-on-primary: #241A14;
--color-accent: #7DA27A;
--color-on-accent: #241A14;
}
}
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 #F2E6D2 | from palette · color 1 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F08A3E | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #7DA27A | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.82:1 | AAA pass 4.5:1 | |
| Text on surface | 14.61:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.51:1 | AA pass 4.5:1 | |
| Label on accent | 4.72:1 | AA pass 4.5:1 | |
| Primary on background | 4.19:1 | AA Large pass 3:1 | |
| Accent on background | 3.35:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.81:1 | AAA pass 4.5:1 | |
| Text on surface | 12.12:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 6.82:1 | AA pass 4.5:1 | |
| Label on accent | 5.94:1 | AA pass 4.5:1 | |
| Primary on background | 6.82:1 | AA pass 3:1 | |
| Accent on background | 5.94:1 | AA 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 | #241A14 (Text 1) | #F08A3E (Text 2) | #7DA27A (Text 3) | #4A3627 (Text 4) | #F2E6D2 (Text 5) |
|---|---|---|---|---|---|
| #241A14 | Same color | 6.82AA | 5.94AA | 1.50— | 13.81AAA |
| #F08A3E | 6.82AA | Same color | 1.15— | 4.55AA | 2.02— |
| #7DA27A | 5.94AA | 1.15— | Same color | 3.96AA Large | 2.33— |
| #4A3627 | 1.50— | 4.55AA | 3.96AA Large | Same color | 9.21AAA |
| #F2E6D2 | 13.81AAA | 2.02— | 2.33— | 9.21AAA | Same color |
Shades
Shades and tints (50–950)
