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

Blue & Yellow, Light Yellow Color Palette

#CCC90F 204, 201, 15
#F1EFA7 241, 239, 167
#0205BB 2, 5, 187
#8385EC 131, 133, 236
#CCC90F
Color 1
#F1EFA7
Color 2
#0205BB
Color 3
#8385EC
Color 4
:root {
  --color-1: #CCC90F;
  --color-2: #F1EFA7;
  --color-3: #0205BB;
  --color-4: #8385EC;
}
colors: {
  'palette-1': '#CCC90F',
  'palette-2': '#F1EFA7',
  'palette-3': '#0205BB',
  'palette-4': '#8385EC',
}
const palette = [
  '#CCC90F',
  '#F1EFA7',
  '#0205BB',
  '#8385EC',
];
$color-1: #CCC90F;
$color-2: #F1EFA7;
$color-3: #0205BB;
$color-4: #8385EC;
Palette Codes 4 COLORS

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

3,125 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 Blue (#0205BB) and reads as well balanced in lightness, with an average saturation of 83% and lightness of 58%. It adapts to a wide range of web and brand projects.

The colors in this palette

Yellow #CCC90F

rgb(204, 201, 15) · hsl(59, 86%, 43%)

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

Light Yellow #F1EFA7

rgb(241, 239, 167) · hsl(58, 73%, 80%)

A light, airy tone — ideal for backgrounds and subtle fills.

Blue #0205BB

rgb(2, 5, 187) · hsl(239, 98%, 37%)

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

Blue #8385EC

rgb(131, 133, 236) · hsl(239, 73%, 72%)

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

TextBackgroundRatioAAAAA
#F1EFA7 #0205BB 10.13:1 Pass Pass
#CCC90F #0205BB 6.85:1 Pass Fail
#0205BB #8385EC 3.75:1 Fail Fail
#F1EFA7 #8385EC 2.7:1 Fail Fail
#CCC90F #8385EC 1.83:1 Fail Fail
#CCC90F #F1EFA7 1.48:1 Fail Fail

How to use these colors

  • Background — Light Yellow (#F1EFA7): the lightest tone — a clean base for large areas
  • Text — Blue (#0205BB): the darkest tone — readable for body copy and headings
  • Primary — Blue (#0205BB): the most saturated tone — buttons, links and key UI
  • Accent — Yellow (#CCC90F): 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 (#CCC90F), Light Yellow (#F1EFA7), Blue (#0205BB) and Blue (#8385EC).

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 #CCC90F, #F1EFA7, #0205BB and #8385EC. 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 10.13:1, which meets the WCAG AAA standard for readable text.

Related Palettes

Copied!