Yellow & Yellow, Blue Color Palette
:root {
--color-1: #B0A103;
--color-2: #DFD996;
--color-3: #1824AF;
--color-4: #525EE5;
}
colors: {
'palette-1': '#B0A103',
'palette-2': '#DFD996',
'palette-3': '#1824AF',
'palette-4': '#525EE5',
}
const palette = [
'#B0A103',
'#DFD996',
'#1824AF',
'#525EE5',
];
$color-1: #B0A103;
$color-2: #DFD996;
$color-3: #1824AF;
$color-4: #525EE5;
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 Yellow (#B0A103) and reads as well balanced in lightness, with an average saturation of 75% and lightness of 52%. It adapts to a wide range of web and brand projects.
The colors in this palette
Yellow #B0A103
rgb(176, 161, 3) · hsl(55, 97%, 35%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Yellow #DFD996
rgb(223, 217, 150) · hsl(55, 53%, 73%)
A balanced mid-tone that works well for primary surfaces and UI elements.
Blue #1824AF
rgb(24, 36, 175) · hsl(235, 76%, 39%)
A vivid, saturated tone that draws the eye — best for accents and highlights.
Blue #525EE5
rgb(82, 94, 229) · hsl(235, 74%, 61%)
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 |
|---|---|---|---|---|
| #DFD996 | #1824AF | 7.59:1 | Pass | Pass |
| #B0A103 | #1824AF | 4.16:1 | Fail | Fail |
| #DFD996 | #525EE5 | 3.54:1 | Fail | Fail |
| #1824AF | #525EE5 | 2.14:1 | Fail | Fail |
| #B0A103 | #525EE5 | 1.94:1 | Fail | Fail |
| #B0A103 | #DFD996 | 1.83:1 | Fail | Fail |
How to use these colors
- Background — Yellow (#DFD996): the lightest tone — a clean base for large areas
- Text — Yellow (#B0A103): the darkest tone — readable for body copy and headings
- Primary — Yellow (#B0A103): the most saturated tone — buttons, links and key UI
- Accent — Blue (#1824AF): 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 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: Yellow (#B0A103), Yellow (#DFD996), Blue (#1824AF) and Blue (#525EE5).
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 #B0A103, #DFD996, #1824AF and #525EE5. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.
Is this palette accessible for text?
Yes — Yellow text on Blue reaches a contrast ratio of 7.59:1, which meets the WCAG AAA standard for readable text.