Blue & Yellow, Light Yellow Color Palette
:root {
--color-1: #DDC40E;
--color-2: #E3DCAB;
--color-3: #1F38F4;
--color-4: #828EE8;
}
colors: {
'palette-1': '#DDC40E',
'palette-2': '#E3DCAB',
'palette-3': '#1F38F4',
'palette-4': '#828EE8',
}
const palette = [
'#DDC40E',
'#E3DCAB',
'#1F38F4',
'#828EE8',
];
$color-1: #DDC40E;
$color-2: #E3DCAB;
$color-3: #1F38F4;
$color-4: #828EE8;
This is a balanced, vibrant 4-colour palette that combines high-contrast tones for a bold, dynamic look.
About this color palette
This is a balanced, vibrant 4-colour palette that combines high-contrast tones for a bold, dynamic look. It is anchored by Blue (#1F38F4) and reads as well balanced in lightness, with an average saturation of 74% and lightness of 62%. It adapts to a wide range of web and brand projects.
The colors in this palette
Yellow #DDC40E
rgb(221, 196, 14) · hsl(53, 88%, 46%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Light Yellow #E3DCAB
rgb(227, 220, 171) · hsl(53, 50%, 78%)
A light, airy tone — ideal for backgrounds and subtle fills.
Blue #1F38F4
rgb(31, 56, 244) · hsl(233, 91%, 54%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Blue #828EE8
rgb(130, 142, 232) · hsl(233, 69%, 71%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
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 |
|---|---|---|---|---|
| #E3DCAB | #1F38F4 | 5.15:1 | Pass | Fail |
| #DDC40E | #1F38F4 | 4.09:1 | Fail | Fail |
| #1F38F4 | #828EE8 | 2.38:1 | Fail | Fail |
| #E3DCAB | #828EE8 | 2.16:1 | Fail | Fail |
| #DDC40E | #828EE8 | 1.71:1 | Fail | Fail |
| #DDC40E | #E3DCAB | 1.26:1 | Fail | Fail |
How to use these colors
- Background — Light Yellow (#E3DCAB): the lightest tone — a clean base for large areas
- Text — Yellow (#DDC40E): the darkest tone — readable for body copy and headings
- Primary — Blue (#1F38F4): the most saturated tone — buttons, links and key UI
- Accent — Yellow (#DDC40E): 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 Blue 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: Yellow (#DDC40E), Light Yellow (#E3DCAB), Blue (#1F38F4) and Blue (#828EE8).
Is this a warm or cool colour palette?
It is balanced, mixing warm and cool tones fairly evenly.
What are the hex codes for this palette?
The hex codes are #DDC40E, #E3DCAB, #1F38F4 and #828EE8. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
Yes — Light Yellow text on Blue reaches a contrast ratio of 5.15:1, which meets the WCAG AA standard for readable text.