PreviewingGo to this paletteOpen in generator
Code
/* Brown Night — colorset.net */
:root {
--color-1: #553300;
--color-2: #664400;
--color-3: #775500;
--color-4: #886600;
--color-5: #997700;
--color-bg: #FCF6E8;
--color-surface: #F3EDDF;
--color-border: #DBD4C3;
--color-text: #553300;
--color-muted: #7A6751;
--color-primary: #927100;
--color-on-primary: #FFFFFF;
--color-accent: #664400;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #180D02;
--color-surface: #231709;
--color-border: #3A2B1A;
--color-text: #B3A583;
--color-muted: #8E8369;
--color-primary: #927100;
--color-on-primary: #FFFFFF;
--color-accent: #845F33;
--color-on-accent: #FFFFFF;
}
}
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 #997700 | adjusted for contrast · from #553300 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | from palette · color 1 | adjusted for contrast · from #997700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #997700 | adjusted for contrast · from #997700 |
| On primary | derived | derived |
| Accent | from palette · color 2 | adjusted for contrast · from #886600 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 10.48:1 | AAA pass 4.5:1 | |
| Text on surface | 9.67:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.01:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 8.78:1 | AAA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 8.15:1 | AAA pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.86:1 | AAA pass 4.5:1 | |
| Text on surface | 7.20:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.10:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.73:1 | AA pass 4.5:1 | |
| Primary on background | 4.18:1 | AA Large pass 3:1 | |
| Accent on background | 3.34:1 | AA Large 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 | #553300 (Text 1) | #664400 (Text 2) | #775500 (Text 3) | #886600 (Text 4) | #997700 (Text 5) |
|---|---|---|---|---|---|
| #553300 | Same color | 1.29— | 1.66— | 2.12— | 2.68— |
| #664400 | 1.29— | Same color | 1.29— | 1.65— | 2.09— |
| #775500 | 1.66— | 1.29— | Same color | 1.28— | 1.62— |
| #886600 | 2.12— | 1.65— | 1.28— | Same color | 1.26— |
| #997700 | 2.68— | 2.09— | 1.62— | 1.26— | Same color |
Shades
Shades and tints (50–950)
