Light Yellow & Dark Yellow, Yellow Color Palette
:root {
--color-1: #5E5A08;
--color-2: #BCB310;
--color-3: #EFE643;
--color-4: #F7F3A1;
}
colors: {
'palette-1': '#5E5A08',
'palette-2': '#BCB310',
'palette-3': '#EFE643',
'palette-4': '#F7F3A1',
}
const palette = [
'#5E5A08',
'#BCB310',
'#EFE643',
'#F7F3A1',
];
$color-1: #5E5A08;
$color-2: #BCB310;
$color-3: #EFE643;
$color-4: #F7F3A1;
This is a warm, high-energy 4-colour palette that combines high-contrast tones for a bold, dynamic look.
About this color palette
This is a warm, high-energy 4-colour palette that combines high-contrast tones for a bold, dynamic look. It is anchored by Light Yellow (#F7F3A1) and reads as well balanced in lightness, with an average saturation of 84% and lightness of 50%. It suits energetic, friendly and lifestyle-oriented designs.
The colors in this palette
Dark Yellow #5E5A08
rgb(94, 90, 8) · hsl(57, 84%, 20%)
A deep, low-lightness tone — strong for text, headings and bold accents.
Yellow #BCB310
rgb(188, 179, 16) · hsl(57, 84%, 40%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Yellow #EFE643
rgb(239, 230, 67) · hsl(57, 84%, 60%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Light Yellow #F7F3A1
rgb(247, 243, 161) · hsl(57, 84%, 80%)
A light, airy tone — ideal for backgrounds and subtle fills.
Accessibility & contrast
Colour contrast decides whether text stays readable. Here is how each pair of colours in this palette performs when one is used as text on the other, measured against the WCAG standard (AA needs 4.5:1, AAA needs 7:1).
| Text | Background | Ratio | AA | AAA |
|---|---|---|---|---|
| #5E5A08 | #F7F3A1 | 6.22:1 | Pass | Fail |
| #5E5A08 | #EFE643 | 5.46:1 | Pass | Fail |
| #5E5A08 | #BCB310 | 3.26:1 | Fail | Fail |
| #BCB310 | #F7F3A1 | 1.91:1 | Fail | Fail |
| #BCB310 | #EFE643 | 1.68:1 | Fail | Fail |
| #EFE643 | #F7F3A1 | 1.14:1 | Fail | Fail |
How to use these colors
- Background — Light Yellow (#F7F3A1): the lightest tone — a clean base for large areas
- Text — Dark Yellow (#5E5A08): the darkest tone — readable for body copy and headings
- Primary — Dark Yellow (#5E5A08): the most saturated tone — buttons, links and key UI
- Accent — Yellow (#BCB310): a secondary highlight for badges and details
Colors that pair with this palette
Want to extend this palette? These colours pair naturally with its dominant Light Yellow tone, based on colour-wheel harmony. Tap a swatch to explore that colour family.
Frequently asked questions
What colours are in this palette?
This palette has 4 colours: Dark Yellow (#5E5A08), Yellow (#BCB310), Yellow (#EFE643) and Light Yellow (#F7F3A1).
Is this a warm or cool colour palette?
It is a warm palette — its tones lean toward reds, oranges and yellows, which feel energetic and inviting.
What are the hex codes for this palette?
The hex codes are #5E5A08, #BCB310, #EFE643 and #F7F3A1. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
Yes — Dark Yellow text on Light Yellow reaches a contrast ratio of 6.22:1, which meets the WCAG AA standard for readable text.