Yellow & Yellow, Blue Color Palette — PaletteCSS
Back to palettes

Yellow & Yellow, Blue Color Palette

#D1A805 209, 168, 5
#EAC948 234, 201, 72
#1B45EE 27, 69, 238
#7386D4 115, 134, 212
#D1A805
Color 1
#EAC948
Color 2
#1B45EE
Color 3
#7386D4
Color 4
:root {
  --color-1: #D1A805;
  --color-2: #EAC948;
  --color-3: #1B45EE;
  --color-4: #7386D4;
}
colors: {
  'palette-1': '#D1A805',
  'palette-2': '#EAC948',
  'palette-3': '#1B45EE',
  'palette-4': '#7386D4',
}
const palette = [
  '#D1A805',
  '#EAC948',
  '#1B45EE',
  '#7386D4',
];
$color-1: #D1A805;
$color-2: #EAC948;
$color-3: #1B45EE;
$color-4: #7386D4;
Palette Codes 4 COLORS

This is a balanced, bold 4-colour palette pairing strongly contrasting colours for real visual punch.

137 Views
Added Jun 2026
Copy & Download

About this color palette

This is a balanced, bold 4-colour palette pairing strongly contrasting colours for real visual punch. It is anchored by Yellow (#D1A805) and reads as well balanced in lightness, with an average saturation of 78% and lightness of 55%. It adapts to a wide range of web and brand projects.

The colors in this palette

Yellow #D1A805

rgb(209, 168, 5) · hsl(48, 95%, 42%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Yellow #EAC948

rgb(234, 201, 72) · hsl(48, 79%, 60%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Blue #1B45EE

rgb(27, 69, 238) · hsl(228, 86%, 52%)

A vivid, saturated tone that draws the eye — best for accents and highlights.

Blue #7386D4

rgb(115, 134, 212) · hsl(228, 53%, 64%)

A balanced mid-tone that works well for primary surfaces and UI elements.

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).

TextBackgroundRatioAAAAA
#EAC948 #1B45EE 4.13:1 Fail Fail
#D1A805 #1B45EE 2.97:1 Fail Fail
#EAC948 #7386D4 2.13:1 Fail Fail
#1B45EE #7386D4 1.94:1 Fail Fail
#D1A805 #7386D4 1.53:1 Fail Fail
#D1A805 #EAC948 1.39:1 Fail Fail

How to use these colors

  • Background — Blue (#7386D4): the lightest tone — a clean base for large areas
  • Text — Yellow (#D1A805): the darkest tone — readable for body copy and headings
  • Primary — Yellow (#D1A805): the most saturated tone — buttons, links and key UI
  • Accent — Blue (#1B45EE): 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 (#D1A805), Yellow (#EAC948), Blue (#1B45EE) and Blue (#7386D4).

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 #D1A805, #EAC948, #1B45EE and #7386D4. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.

Is this palette accessible for text?

The colours are fairly close in contrast, so pair them carefully for text — put a very light or very dark colour behind body text, and check the contrast table above.

Related Palettes

Copied!