What color do blue and yellow make?

Mixed as paint, blue and yellow make a green. Change the ratio, switch to light or CSS mixing, and copy the result.

Colors to mix

1

50%

1

50%

Paint mode simulates real pigments with the Kubelka-Munk model, so blue and yellow make green, just like on a palette.

green

#5BA03E · green

HEX

RGB

HSL

OKLCH

Contrast 3.21:1 with white, 6.54:1 with black

Blend steps

All color 1

Click a step to use its ratio

All color 2

Add white

20%

40%

60%

80%

Add black

20%

40%

60%

80%

Using #5BA03E in a UI? Atmos builds an accessible shade scale from it.

Generate shades free

Blue and yellow make green

Mixed as paint, blue and yellow make a green (#5BA03E). As light on a screen, they make an off-white (#FDDDD8), and blended in CSS with OKLCH they give a cyan (#00B19A).

green

#5BA03E

As paint

Pigments absorb light, so every color you add takes some away. This is what you get on a palette or canvas.

off-white

#FDDDD8

As light

Colored lights add up, as on a screen or stage. Mixes get brighter, not darker.

cyan

#00B19A

In CSS (OKLCH)

What color-mix(in oklch, …) returns for an even mix in the browser.

Mixing blue and yellow in different ratios

The ratio decides which color leads. These are paint mixes, measured in equal-sized parts.

3:1 · #2F854B

3 blue : 1 yellow, green

2:1 · #3F8F46

2 blue : 1 yellow, green

1:1 · #5BA03E

1 blue : 1 yellow, green

1:2 · #79B036

1 blue : 2 yellow, green

1:3 · #8BB831

1 blue : 3 yellow, green

Making the mix lighter or darker

Add white for tints and black for shades. Each step adds 20% more of it to the even blue and yellow mix.

With white

#74B654

20%

#8BC66B

40%

#A3D584

60%

#BEE4A4

80%

With black

#598C3F

20%

#54783D

40%

#4B623A

60%

#3A4431

80%

Need a full scale for a UI instead? The shade generator builds evenly spaced, accessible shades from any color.

Mixing blue and yellow FAQ

Mixed as paint, blue and yellow make a green (#5BA03E). As light on a screen, they make an off-white (#FDDDD8), and blended in CSS with OKLCH they give a cyan (#00B19A).

Light adds up instead of absorbing, so blue and yellow light make an off-white (#FDDDD8). That is why screens can show bright yellows from red and green light, while the same paints would turn brown.

Change the ratio. Three parts blue to one part yellow gives a green (#2F854B), while one part blue to three parts yellow gives a green (#8BB831). To lighten the result add white, and to darken it add a little black.

Use color-mix(in oklch, #1D4ED8 50%, #FCD200 50%), which gives #00B19A. OKLCH keeps the middle of the mix bright, while mixing in sRGB tends to turn it gray.