PreviewingGo to this paletteOpen in generator
Code
/* Taxi Yellow — colorset.net */
:root {
--color-1: #FFEF00;
--color-2: #FFF200;
--color-3: #FFF500;
--color-4: #FFF700;
--color-5: #FFFA00;
--color-bg: #F8F8E9;
--color-surface: #EEEFE0;
--color-border: #D6D6C4;
--color-text: #565000;
--color-muted: #6E6C51;
--color-primary: #7B7800;
--color-on-primary: #FFFFFF;
--color-accent: #958B00;
--color-on-accent: #000000;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg: #121000;
--color-surface: #1C1A06;
--color-border: #312F16;
--color-text: #F3F4CE;
--color-muted: #8A8A6F;
--color-primary: #FFFA00;
--color-on-primary: #121000;
--color-accent: #C5C100;
--color-on-accent: #121000;
}
}
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 #FFEF00 | adjusted for contrast · from #FFEF00 |
| Surface | derived | derived |
| Border | derived | derived |
| Text | adjusted for contrast · from #FFEF00 | adjusted for contrast · from #FFEF00 |
| Muted text | derived | derived |
| Primary | adjusted for contrast · from #FFEF00 | from palette · color 5 |
| On primary | derived | derived |
| Accent | adjusted for contrast · from #FFEF00 | adjusted for contrast · from #FFEF00 |
| On accent | derived | derived |
Contrast
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 7.70:1 | AAA pass 4.5:1 | |
| Text on surface | 7.10:1 | AAA pass 4.5:1 | |
| Muted text on background | 4.99:1 | AA pass 4.5:1 | |
| Label on primary | 4.64:1 | AA pass 4.5:1 | |
| Label on accent | 5.97:1 | AA pass 4.5:1 | |
| Primary on background | 4.33:1 | AA Large pass 3:1 | |
| Accent on background | 3.28:1 | AA Large pass 3:1 |
| Pair | Sample | Ratio | WCAG |
|---|---|---|---|
| Text on background | 16.95:1 | AAA pass 4.5:1 | |
| Text on surface | 15.54:1 | AAA pass 4.5:1 | |
| Muted text on background | 5.41:1 | AA pass 4.5:1 | |
| Label on primary | 17.21:1 | AAA pass 4.5:1 | |
| Label on accent | 10.00:1 | AAA pass 4.5:1 | |
| Primary on background | 17.21:1 | AAA pass 3:1 | |
| Accent on background | 10.00: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 | #FFEF00 (Text 1) | #FFF200 (Text 2) | #FFF500 (Text 3) | #FFF700 (Text 4) | #FFFA00 (Text 5) |
|---|---|---|---|---|---|
| #FFEF00 | Same color | 1.02— | 1.04— | 1.05— | 1.08— |
| #FFF200 | 1.02— | Same color | 1.02— | 1.03— | 1.05— |
| #FFF500 | 1.04— | 1.02— | Same color | 1.01— | 1.03— |
| #FFF700 | 1.05— | 1.03— | 1.01— | Same color | 1.02— |
| #FFFA00 | 1.08— | 1.05— | 1.03— | 1.02— | Same color |
Shades
Shades and tints (50–950)
