PreviewingGo to this paletteOpen in generator
Code
/* Golden Corn — colorset.net */
:root {
--color-1: #FFEE58;
--color-2: #FFEB3B;
--color-3: #FDD835;
--color-4: #FBC02D;
--color-5: #F9A825;
--color-bg: #F9F8E8;
--color-surface: #F0EEDF;
--color-border: #D8D6C3;
--color-text: #6E4705;
--color-muted: #7A6852;
--color-primary: #A36A00;
--color-on-primary: #FFFFFF;
--color-accent: #827600;
--color-on-accent: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #190D00;
--color-surface: #231706;
--color-border: #3A2B16;
--color-text: #F0ECC6;
--color-muted: #89866A;
--color-primary: #F9A825;
--color-on-primary: #190D00;
--color-accent: #FFEB3B;
--color-on-accent: #190D00;
}
}
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 #FFEE58 | adjusted for contrast · from #F9A825 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #F9A825 | adjusted for contrast · from #FFEE58 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #F9A825 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #F9A825 | from palette · color 2 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.64:1 | AAA pass 4.5:1 | |
| Text on surface | 7.01:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.55:1 | AA pass 4.5:1 | |
| Label on accent | 4.63:1 | AA pass 4.5:1 | |
| Primary on background | 4.25:1 | AA Large pass 3:1 | |
| Accent on background | 4.32:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 15.94:1 | AAA pass 4.5:1 | |
| Text on surface | 14.64:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.17:1 | AA pass 4.5:1 | |
| Label on primary | 9.70:1 | AAA pass 4.5:1 | |
| Label on accent | 15.65:1 | AAA pass 4.5:1 | |
| Primary on background | 9.70:1 | AAA pass 3:1 | |
| Accent on background | 15.65: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 | #FFEE58 (Text 1) | #FFEB3B (Text 2) | #FDD835 (Text 3) | #FBC02D (Text 4) | #F9A825 (Text 5) |
|---|---|---|---|---|---|
| #FFEE58 | Same color | 1.02— | 1.17— | 1.39— | 1.65— |
| #FFEB3B | 1.02— | Same color | 1.14— | 1.36— | 1.61— |
| #FDD835 | 1.17— | 1.14— | Same color | 1.19— | 1.41— |
| #FBC02D | 1.39— | 1.36— | 1.19— | Same color | 1.19— |
| #F9A825 | 1.65— | 1.61— | 1.41— | 1.19— | Same color |
Shades
Shades and tints (50–950)
