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

Yellow & Light Yellow, Blue Color Palette

#CDB00E 205, 176, 14
#F2E59C 242, 229, 156
#182FAF 24, 47, 175
#7989E7 121, 137, 231
#CDB00E
Color 1
#F2E59C
Color 2
#182FAF
Color 3
#7989E7
Color 4
:root {
  --color-1: #CDB00E;
  --color-2: #F2E59C;
  --color-3: #182FAF;
  --color-4: #7989E7;
}
colors: {
  'palette-1': '#CDB00E',
  'palette-2': '#F2E59C',
  'palette-3': '#182FAF',
  'palette-4': '#7989E7',
}
const palette = [
  '#CDB00E',
  '#F2E59C',
  '#182FAF',
  '#7989E7',
];
$color-1: #CDB00E;
$color-2: #F2E59C;
$color-3: #182FAF;
$color-4: #7989E7;
Palette Codes 4 COLORS

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

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

The colors in this palette

Yellow #CDB00E

rgb(205, 176, 14) · hsl(51, 87%, 43%)

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

Light Yellow #F2E59C

rgb(242, 229, 156) · hsl(51, 77%, 78%)

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

Blue #182FAF

rgb(24, 47, 175) · hsl(231, 76%, 39%)

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

Blue #7989E7

rgb(121, 137, 231) · hsl(231, 70%, 69%)

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
#F2E59C #182FAF 7.97:1 Pass Pass
#CDB00E #182FAF 4.75:1 Pass Fail
#182FAF #7989E7 3.17:1 Fail Fail
#F2E59C #7989E7 2.52:1 Fail Fail
#CDB00E #F2E59C 1.68:1 Fail Fail
#CDB00E #7989E7 1.5:1 Fail Fail

How to use these colors

  • Background — Light Yellow (#F2E59C): the lightest tone — a clean base for large areas
  • Text — Blue (#182FAF): the darkest tone — readable for body copy and headings
  • Primary — Yellow (#CDB00E): the most saturated tone — buttons, links and key UI
  • Accent — Blue (#182FAF): 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 (#CDB00E), Light Yellow (#F2E59C), Blue (#182FAF) and Blue (#7989E7).

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 #CDB00E, #F2E59C, #182FAF and #7989E7. 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 7.97:1, which meets the WCAG AAA standard for readable text.

Related Palettes

Copied!