What color do yellow and green make?

Mixed as paint, yellow and green 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

#5CB72F · green

HEX

RGB

HSL

OKLCH

Contrast 2.54:1 with white, 8.27: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 #5CB72F in a UI? Atmos builds an accessible shade scale from it.

Generate shades free

Yellow and green make green

Mixed as paint, yellow and green make a green (#5CB72F). As light on a screen, they make a light yellow (#FDF445), and blended in CSS with OKLCH they give a yellow (#94B328).

green

#5CB72F

As paint

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

light yellow

#FDF445

As light

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

yellow

#94B328

In CSS (OKLCH)

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

Mixing yellow and green in different ratios

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

3:1 · #84C626

3 yellow : 1 green, green

2:1 · #75C129

2 yellow : 1 green, green

1:1 · #5CB72F

1 yellow : 1 green, green

1:2 · #46AB33

1 yellow : 2 green, green

1:3 · #3CA536

1 yellow : 3 green, 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 yellow and green mix.

With white

#72C641

20%

#87D355

40%

#9DDE6D

60%

#B9EA8E

80%

With black

#5C9F33

20%

#588834

40%

#506F34

60%

#404E2F

80%

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

Mixing yellow and green FAQ

Mixed as paint, yellow and green make a green (#5CB72F). As light on a screen, they make a light yellow (#FDF445), and blended in CSS with OKLCH they give a yellow (#94B328).

Light adds up instead of absorbing, so yellow and green light make a light yellow (#FDF445). 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 yellow to one part green gives a green (#84C626), while one part yellow to three parts green gives a green (#3CA536). To lighten the result add white, and to darken it add a little black.

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