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

Yellow & Yellow, Blue Color Palette

#C9C208 201, 194, 8
#E3DE59 227, 222, 89
#2A30E5 42, 48, 229
#8C8FD9 140, 143, 217
#C9C208
Color 1
#E3DE59
Color 2
#2A30E5
Color 3
#8C8FD9
Color 4
:root {
  --color-1: #C9C208;
  --color-2: #E3DE59;
  --color-3: #2A30E5;
  --color-4: #8C8FD9;
}
colors: {
  'palette-1': '#C9C208',
  'palette-2': '#E3DE59',
  'palette-3': '#2A30E5',
  'palette-4': '#8C8FD9',
}
const palette = [
  '#C9C208',
  '#E3DE59',
  '#2A30E5',
  '#8C8FD9',
];
$color-1: #C9C208;
$color-2: #E3DE59;
$color-3: #2A30E5;
$color-4: #8C8FD9;
Palette Codes 4 COLORS

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

4,445 Views
Added Jun 2026
Copy & Download

About this color palette

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

The colors in this palette

Yellow #C9C208

rgb(201, 194, 8) · hsl(58, 92%, 41%)

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

Yellow #E3DE59

rgb(227, 222, 89) · hsl(58, 71%, 62%)

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

Blue #2A30E5

rgb(42, 48, 229) · hsl(238, 78%, 53%)

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

Blue #8C8FD9

rgb(140, 143, 217) · hsl(238, 50%, 70%)

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
#E3DE59 #2A30E5 5.6:1 Pass Fail
#C9C208 #2A30E5 4.22:1 Fail Fail
#2A30E5 #8C8FD9 2.66:1 Fail Fail
#E3DE59 #8C8FD9 2.11:1 Fail Fail
#C9C208 #8C8FD9 1.59:1 Fail Fail
#C9C208 #E3DE59 1.33:1 Fail Fail

How to use these colors

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

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 #C9C208, #E3DE59, #2A30E5 and #8C8FD9. 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 5.6:1, which meets the WCAG AA standard for readable text.

Related Palettes

Copied!