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

Yellow & Yellow, Blue Color Palette

#CBA115 203, 161, 21
#E5D08A 229, 208, 138
#1C3A9C 28, 58, 156
#8C9FDE 140, 159, 222
#CBA115
Color 1
#E5D08A
Color 2
#1C3A9C
Color 3
#8C9FDE
Color 4
:root {
  --color-1: #CBA115;
  --color-2: #E5D08A;
  --color-3: #1C3A9C;
  --color-4: #8C9FDE;
}
colors: {
  'palette-1': '#CBA115',
  'palette-2': '#E5D08A',
  'palette-3': '#1C3A9C',
  'palette-4': '#8C9FDE',
}
const palette = [
  '#CBA115',
  '#E5D08A',
  '#1C3A9C',
  '#8C9FDE',
];
$color-1: #CBA115;
$color-2: #E5D08A;
$color-3: #1C3A9C;
$color-4: #8C9FDE;
Palette Codes 4 COLORS

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

94 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 (#CBA115) and reads as well balanced in lightness, with an average saturation of 67% and lightness of 56%. It adapts to a wide range of web and brand projects.

The colors in this palette

Yellow #CBA115

rgb(203, 161, 21) · hsl(46, 81%, 44%)

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

Yellow #E5D08A

rgb(229, 208, 138) · hsl(46, 64%, 72%)

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

Blue #1C3A9C

rgb(28, 58, 156) · hsl(226, 70%, 36%)

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

Blue #8C9FDE

rgb(140, 159, 222) · hsl(226, 55%, 71%)

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
#E5D08A #1C3A9C 6.43:1 Pass Fail
#CBA115 #1C3A9C 4.05:1 Fail Fail
#1C3A9C #8C9FDE 3.81:1 Fail Fail
#E5D08A #8C9FDE 1.69:1 Fail Fail
#CBA115 #E5D08A 1.59:1 Fail Fail
#CBA115 #8C9FDE 1.06:1 Fail Fail

How to use these colors

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

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 #CBA115, #E5D08A, #1C3A9C and #8C9FDE. 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 6.43:1, which meets the WCAG AA standard for readable text.

Related Palettes

Copied!