PreviewingGo to this paletteOpen in generator
Code
/* Citrus Sunrise — colorset.net */
:root {
--color-1: #FBC02D;
--color-2: #F9A825;
--color-3: #F57F17;
--color-4: #E65100;
--color-5: #BF360C;
--color-bg: #FDF6E8;
--color-surface: #F4EDDF;
--color-border: #DDD4C3;
--color-text: #7B3D2D;
--color-muted: #82655D;
--color-primary: #CE4800;
--color-on-primary: #FFFFFF;
--color-accent: #977000;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #1C0905;
--color-surface: #27130E;
--color-border: #3F2620;
--color-text: #DAC8A6;
--color-muted: #8E8168;
--color-primary: #CE4800;
--color-on-primary: #FFFFFF;
--color-accent: #FBC02D;
--color-on-accent: #1C0905;
}
}
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 #FBC02D | adjusted for contrast · from #BF360C |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #BF360C | adjusted for contrast · from #FBC02D |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #BF360C | adjusted for contrast · from #BF360C |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #BF360C | from palette · color 1 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.66:1 | AAA pass 4.5:1 | |
| Text on surface | 7.08:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.92:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 4.53:1 | AA pass 4.5:1 | |
| Primary on background | 4.29:1 | AA Large pass 3:1 | |
| Accent on background | 4.21:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 11.73:1 | AAA pass 4.5:1 | |
| Text on surface | 10.79:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.03:1 | AA pass 4.5:1 | |
| Label on primary | 4.61:1 | AA pass 4.5:1 | |
| Label on accent | 11.63:1 | AAA pass 4.5:1 | |
| Primary on background | 4.17:1 | AA Large pass 3:1 | |
| Accent on background | 11.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 | #FBC02D (Text 1) | #F9A825 (Text 2) | #F57F17 (Text 3) | #E65100 (Text 4) | #BF360C (Text 5) |
|---|---|---|---|---|---|
| #FBC02D | Same color | 1.19— | 1.60— | 2.29— | 3.38AA Large |
| #F9A825 | 1.19— | Same color | 1.34— | 1.92— | 2.84— |
| #F57F17 | 1.60— | 1.34— | Same color | 1.43— | 2.12— |
| #E65100 | 2.29— | 1.92— | 1.43— | Same color | 1.48— |
| #BF360C | 3.38AA Large | 2.84— | 2.12— | 1.48— | Same color |
Shades
Shades and tints (50–950)
