PreviewingGo to this paletteOpen in generator
Code
/* Red Gold — colorset.net */
:root {
--color-1: #DC143C;
--color-2: #FF0000;
--color-3: #FF6347;
--color-4: #FFD700;
--color-5: #228B22;
--color-bg: #FBF7E8;
--color-surface: #F1EEDF;
--color-border: #DAD5C3;
--color-text: #2C592A;
--color-muted: #5C705B;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #061305;
--color-surface: #0F1E0E;
--color-border: #223320;
--color-text: #E4DAB5;
--color-muted: #8C856A;
--color-primary: #EA0000;
--color-on-primary: #FFFFFF;
--color-accent: #1D881E;
--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 #FFD700 | adjusted for contrast · from #228B22 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #228B22 | adjusted for contrast · from #FFD700 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FF0000 | adjusted for contrast · from #FF0000 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #228B22 | adjusted for contrast · from #228B22 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.62:1 | AAA pass 4.5:1 | |
| Text on surface | 7.02:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.35:1 | AA Large pass 3:1 | |
| Accent on background | 4.26:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 13.59:1 | AAA pass 4.5:1 | |
| Text on surface | 12.37:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.15:1 | AA pass 4.5:1 | |
| Label on primary | 4.67:1 | AA pass 4.5:1 | |
| Label on accent | 4.57:1 | AA pass 4.5:1 | |
| Primary on background | 4.08:1 | AA Large pass 3:1 | |
| Accent on background | 4.16: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 | #DC143C (Text 1) | #FF0000 (Text 2) | #FF6347 (Text 3) | #FFD700 (Text 4) | #228B22 (Text 5) |
|---|---|---|---|---|---|
| #DC143C | Same color | 1.25— | 1.69— | 3.56AA Large | 1.14— |
| #FF0000 | 1.25— | Same color | 1.36— | 2.85— | 1.10— |
| #FF6347 | 1.69— | 1.36— | Same color | 2.10— | 1.49— |
| #FFD700 | 3.56AA Large | 2.85— | 2.10— | Same color | 3.13AA Large |
| #228B22 | 1.14— | 1.10— | 1.49— | 3.13AA Large | Same color |
Shades
Shades and tints (50–950)
