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

Yellow & Red, Blue Color Palette

#C71B46 199, 27, 70
#4032D9 64, 50, 217
#0CD56B 12, 213, 107
#EAFF00 234, 255, 0
#C71B46
Color 1
#4032D9
Color 2
#0CD56B
Color 3
#EAFF00
Color 4
:root {
  --color-1: #C71B46;
  --color-2: #4032D9;
  --color-3: #0CD56B;
  --color-4: #EAFF00;
}
colors: {
  'palette-1': '#C71B46',
  'palette-2': '#4032D9',
  'palette-3': '#0CD56B',
  'palette-4': '#EAFF00',
}
const palette = [
  '#C71B46',
  '#4032D9',
  '#0CD56B',
  '#EAFF00',
];
$color-1: #C71B46;
$color-2: #4032D9;
$color-3: #0CD56B;
$color-4: #EAFF00;
Palette Codes 4 COLORS

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

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

The colors in this palette

Red #C71B46

rgb(199, 27, 70) · hsl(345, 76%, 44%)

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

Blue #4032D9

rgb(64, 50, 217) · hsl(245, 69%, 52%)

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

Green #0CD56B

rgb(12, 213, 107) · hsl(148, 89%, 44%)

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

Yellow #EAFF00

rgb(234, 255, 0) · hsl(65, 100%, 50%)

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
#4032D9 #EAFF00 7.03:1 Pass Pass
#C71B46 #EAFF00 5.12:1 Pass Fail
#4032D9 #0CD56B 4.02:1 Fail Fail
#C71B46 #0CD56B 2.93:1 Fail Fail
#0CD56B #EAFF00 1.75:1 Fail Fail
#C71B46 #4032D9 1.37:1 Fail Fail

How to use these colors

  • Background — Blue (#4032D9): the lightest tone — a clean base for large areas
  • Text — Green (#0CD56B): the darkest tone — readable for body copy and headings
  • Primary — Yellow (#EAFF00): the most saturated tone — buttons, links and key UI
  • Accent — Green (#0CD56B): 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: Red (#C71B46), Blue (#4032D9), Green (#0CD56B) and Yellow (#EAFF00).

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 #C71B46, #4032D9, #0CD56B and #EAFF00. You can copy them as CSS variables, Tailwind, SCSS or JSON from the code panel above.

Is this palette accessible for text?

Yes — Blue text on Yellow reaches a contrast ratio of 7.03:1, which meets the WCAG AAA standard for readable text.

Related Palettes

Copied!