PreviewingGo to this paletteOpen in generator
Code
/* Gold Hour — colorset.net */
:root {
--color-1: #FF8F00;
--color-2: #FFA000;
--color-3: #FFB300;
--color-4: #FFC107;
--color-5: #FFD54F;
--color-bg: #FCF7E8;
--color-surface: #F2EDDF;
--color-border: #DBD5C3;
--color-text: #724111;
--color-muted: #7C6654;
--color-primary: #B16200;
--color-on-primary: #FFFFFF;
--color-accent: #8F7300;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1A0B01;
--color-surface: #251508;
--color-border: #3D2919;
--color-text: #E5D9B5;
--color-muted: #8B8167;
--color-primary: #FF8F00;
--color-on-primary: #1A0B01;
--color-accent: #FFD54F;
--color-on-accent: #1A0B01;
}
}
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 #FFD54F | adjusted for contrast · from #FF8F00 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FF8F00 | adjusted for contrast · from #FFD54F |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF8F00 | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FF8F00 | from palette · color 5 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.91:1 | AAA pass 4.5:1 | |
| Text on surface | 7.24:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.05:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.55:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 4.24:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.66:1 | AAA pass 4.5:1 | |
| Text on surface | 12.55:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.97:1 | AA pass 4.5:1 | |
| Label on primary | 8.41:1 | AAA pass 4.5:1 | |
| Label on accent | 13.63:1 | AAA pass 4.5:1 | |
| Primary on background | 8.41:1 | AAA pass 3:1 | |
| Accent on background | 13.63: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 | #FF8F00 (Text 1) | #FFA000 (Text 2) | #FFB300 (Text 3) | #FFC107 (Text 4) | #FFD54F (Text 5) |
|---|---|---|---|---|---|
| #FF8F00 | Same color | 1.12— | 1.27— | 1.40— | 1.62— |
| #FFA000 | 1.12— | Same color | 1.14— | 1.25— | 1.45— |
| #FFB300 | 1.27— | 1.14— | Same color | 1.10— | 1.27— |
| #FFC107 | 1.40— | 1.25— | 1.10— | Same color | 1.16— |
| #FFD54F | 1.62— | 1.45— | 1.27— | 1.16— | Same color |
Shades
Shades and tints (50–950)
