PreviewingGo to this paletteOpen in generator
Code
/* Hi-Fi Night — colorset.net */
:root {
--color-1: #1D2326;
--color-2: #F28C38;
--color-3: #59A5A0;
--color-4: #3D4A4F;
--color-5: #EFE6D8;
--color-bg: #F9F6F2;
--color-surface: #F0EDE9;
--color-border: #D9D4CD;
--color-text: #1D2326;
--color-muted: #656C6F;
--color-primary: #B65E00;
--color-on-primary: #FFFFFF;
--color-accent: #46928E;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1D2326;
--color-surface: #282E31;
--color-border: #3B4449;
--color-text: #EFE6D8;
--color-muted: #9E9588;
--color-primary: #F28C38;
--color-on-primary: #1D2326;
--color-accent: #59A5A0;
--color-on-accent: #1D2326;
}
}
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 #EFE6D8 | 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 #F28C38 | from palette · color 2 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #59A5A0 | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 14.76:1 | AAA pass 4.5:1 | |
| Text on surface | 13.63:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.96:1 | AA pass 4.5:1 | |
| Label on primary | 4.58:1 | AA pass 4.5:1 | |
| Label on accent | 5.76:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 3.38:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 12.86:1 | AAA pass 4.5:1 | |
| Text on surface | 11.13:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.38:1 | AA pass 4.5:1 | |
| Label on primary | 6.50:1 | AA pass 4.5:1 | |
| Label on accent | 5.54:1 | AA pass 4.5:1 | |
| Primary on background | 6.50:1 | AA pass 3:1 | |
| Accent on background | 5.54: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 | #1D2326 (Text 1) | #F28C38 (Text 2) | #59A5A0 (Text 3) | #3D4A4F (Text 4) | #EFE6D8 (Text 5) |
|---|---|---|---|---|---|
| #1D2326 | Same color | 6.50AA | 5.54AA | 1.73— | 12.86AAA |
| #F28C38 | 6.50AA | Same color | 1.17— | 3.75AA Large | 1.98— |
| #59A5A0 | 5.54AA | 1.17— | Same color | 3.19AA Large | 2.32— |
| #3D4A4F | 1.73— | 3.75AA Large | 3.19AA Large | Same color | 7.41AAA |
| #EFE6D8 | 12.86AAA | 1.98— | 2.32— | 7.41AAA | Same color |
Shades
Shades and tints (50–950)
