PreviewingGo to this paletteOpen in generator
Code
/* Cider Yellow — colorset.net */
:root {
--color-1: #B7950B;
--color-2: #D4AC0D;
--color-3: #F1C40F;
--color-4: #F8C471;
--color-5: #FCF3CF;
--color-bg: #FCF3CF;
--color-surface: #FFFAE5;
--color-border: #E2DABD;
--color-text: #624E00;
--color-muted: #756D53;
--color-primary: #A98900;
--color-on-primary: #000000;
--color-accent: #928A69;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #150F00;
--color-surface: #1F1905;
--color-border: #352D15;
--color-text: #FCF3CF;
--color-muted: #90896E;
--color-primary: #B7950B;
--color-on-primary: #150F00;
--color-accent: #F1C40F;
--color-on-accent: #150F00;
}
}
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 | from palette · color 5 | adjusted for contrast · from #B7950B |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #B7950B | from palette · color 5 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #B7950B | from palette · color 1 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #B7950B | from palette · color 3 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.23:1 | AAA pass 4.5:1 | |
| Text on surface | 7.69:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.64:1 | AA pass 4.5:1 | |
| Label on primary | 6.27:1 | AA pass 4.5:1 | |
| Label on accent | 6.06:1 | AA pass 4.5:1 | |
| Primary on background | 3.01:1 | AA Large pass 3:1 | |
| Accent on background | 3.11:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 17.14:1 | AAA pass 4.5:1 | |
| Text on surface | 15.72:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.44:1 | AA pass 4.5:1 | |
| Label on primary | 6.65:1 | AA pass 4.5:1 | |
| Label on accent | 11.49:1 | AAA pass 4.5:1 | |
| Primary on background | 6.65:1 | AA pass 3:1 | |
| Accent on background | 11.49: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 | #B7950B (Text 1) | #D4AC0D (Text 2) | #F1C40F (Text 3) | #F8C471 (Text 4) | #FCF3CF (Text 5) |
|---|---|---|---|---|---|
| #B7950B | Same color | 1.33— | 1.73— | 1.79— | 2.58— |
| #D4AC0D | 1.33— | Same color | 1.30— | 1.35— | 1.94— |
| #F1C40F | 1.73— | 1.30— | Same color | 1.04— | 1.49— |
| #F8C471 | 1.79— | 1.35— | 1.04— | Same color | 1.44— |
| #FCF3CF | 2.58— | 1.94— | 1.49— | 1.44— | Same color |
Shades
Shades and tints (50–950)
