What Color Does Blue and Yellow Make? Green — Hex Codes & Mixing Guide
By Syed Adan Murad Shah · Software Engineer
Blue and yellow make green when mixed as paint. A 50/50 mix of blue (#0000FF) and yellow (#FFFF00) produces green (#008000). Blended as light on a screen, the same two colors give gray (#808080) instead.
Blue and Yellow Mix Ratios — Hex Code Table
| Swatch | Mix ratio | Color | Paint mix | Screen blend | Best text color |
|---|---|---|---|---|---|
| 90% blue + 10% yellow | Azure blue | #005CE6 | #1A1AE6 | White 5.71:1 AA | |
| 80% blue + 20% yellow | Cerulean | #00A3CC | #3333CC | Black 7.11:1 AAA | |
| 70% blue + 30% yellow | Jade green | #00B38F | #4D4DB3 | Black 7.84:1 AAA | |
| 50% blue + 50% yellow | True green | #008000 | #808080 | White 5.13:1 AA | |
| 30% blue + 70% yellow | Grass green | #47B300 | #B3B34D | Black 7.71:1 AAA | |
| 20% blue + 80% yellow | Lime green | #7ACC00 | #CCCC33 | Black 10.46:1 AAA | |
| 10% blue + 90% yellow | Lime yellow | #B8E600 | #E6E61A | Black 14.35:1 AAA |
Every hex code here is calculated by our color mixer, not picked by eye, so you can reproduce each row with the mixer below. “Best text color” is the WCAG contrast ratio of black or white text on that swatch.
What Shade of Green Does Blue and Yellow Make?
With more blue the mix stays cool: #005CE6 is still clearly blue, #00A3CC is a cerulean and #00B38F a jade. At equal parts it settles on #008000, the deepest green in the table, because that is where the two colors share the least light. Past the midpoint yellow takes over and the greens get brighter: #47B300, then #7ACC00, then #B8E600, which is closer to lime yellow than to green.
Try Any Ratio Yourself
The table stops at seven ratios. Drag the slider to see every step in between, or swap either color for the exact shade you are working with.
Color 1
#0000FF
Color 2
#FFFF00
Mixed Result
HEX: #008000
RGB: 0, 128, 0
Closest name: Green
Blue + Yellow = Green
Same mix as light on a screen: #808080
Why Blue and Yellow Make Green in Paint but Gray on a Screen
The “Paint mix” and “Screen blend” columns disagree in every row, and that disagreement is the reason this question has two answers.
A screen builds color by adding red, green and blue light. Yellow light is already red and green together, so blue plus yellow contains all three. Take half of each for an even blend and every channel lands in the middle: #808080, a flat gray. The screen column slides from blue through a slate blue (#4D4DB3) and gray to a dull khaki (#B3B34D) without ever passing a green.
Paint does the opposite, because pigments absorb light. Blue paint soaks up most of the red and yellow part of the light, and yellow paint soaks up most of the blue. The only part both leave alone is green, so green is what reaches your eye. It is also why the even mix is darker than either color on its own: two pigments absorb more light than one.
Our mixer imitates this by placing hues on the painter's red–yellow–blue wheel, where green sits halfway between yellow and blue. The full method is explained on the color mixer page.
Getting These Greens in CSS
CSS can blend two colors with color-mix(), but it mixes them as light, so it does not give you the paint result:
color-mix(in srgb, #0000FF 50%, #FFFF00) /* #808080, gray */
color-mix(in oklch, #0000FF 50%, #FFFF00) /* a turquoise: the hue is rotated, not averaged */Neither is a paint mix. For a green that looks like mixed paint, copy the hex from the “Paint mix” column and use it directly, for example --brand-green: #008000;.
Blue and Yellow Color Combinations
Four palettes that combine blue, yellow, and the greens between them.
Eco clarity
Green #008000 structure, sky blue #0EA5E9 links, yellow #FFFF00 highlights on white.
Spring dashboard
Grass green #47B300 success tags, lime #7ACC00 charts, slate #334155 text.
Coastal field
Cerulean #00A3CC headers, lime yellow #B8E600 accents, cream #F5F5DC backgrounds.
Playful learning
Blue #0000FF primary buttons, jade #00B38F cards, golden yellow #FFD700 badges.
Using Blue and Yellow in Design
Blue-and-yellow systems suggest reliability and growth, which is why they are common for fintech, health and outdoor brands. Use the deeper greens and blue-greens for navigation and structure, and the yellow-greens sparingly for positive feedback.
Related mixing guides: what color does red and yellow make, what color does pink and purple make.
Of the 7 mixes in the table, black text reaches the WCAG AA ratio of 4.5:1 on 5 and white text on 2. The “Best text color” column shows the stronger of the two for each swatch.
Only two rows can carry white text: the 90% blue mix, which still behaves like blue, and the even mix #008000, where white scores 5.13:1 and black only 4.08:1. Every other row has enough bright green in it that it needs black text instead.
Mixing Blue and Yellow Paint: What to Expect
Start with yellow and add blue. Most blues are much stronger than most yellows, so equal amounts of real paint usually look more like the blue-heavy rows of the table than the 50/50 row. Adding blue to yellow a little at a time wastes far less paint than going the other way.
The pair matters as much as the ratio. A blue that leans green (phthalo, cerulean) with a yellow that leans green (lemon yellow) gives the cleanest, brightest greens. A blue that leans purple (ultramarine) with a yellow that leans orange gives duller, olive greens, because both carry a little red, and red is green's opposite on the wheel.
To calm a green, add red, not black. A touch of red moves green towards olive and brown without making it look dirty. You can see the effect by mixing green and red in the mixer above.
FAQ
What color does blue and yellow make?
Blue and yellow make green when mixed as paint. Equal parts of pure blue (#0000FF) and pure yellow (#FFFF00) give #008000 in our mixer. More blue gives blue-greens such as #00A3CC; more yellow gives yellow-greens such as #7ACC00.
What is the hex code for blue and yellow mixed?
For an even paint-style mix use #008000. With more blue the mix moves through #00B38F and #00A3CC; with more yellow, through #47B300 and #7ACC00. Blended as light on a screen, the same two colors average to #808080, a neutral gray.
Why do blue and yellow make gray on a screen?
A screen mixes light. Yellow light is red and green light together, so adding blue supplies all three channels, and an even blend of them is mid gray (#808080). Paint works by absorbing light instead, and the part of the spectrum that blue and yellow pigments both still reflect is green.
Do blue and yellow go together in design?
Yes. Blue and yellow, and the greens between them, suggest clarity, growth and trust, which is why they are common in eco brands, education and dashboards. Keep one dominant green or blue per screen so the interface stays calm.
What happens when you mix blue and yellow paint?
Each pigment absorbs part of the light. Blue paint absorbs most red and yellow light, yellow paint absorbs most blue light, and green is what both still reflect. The exact green depends on the pigments: a greenish blue such as phthalo gives a cleaner, brighter green than a purple-leaning blue such as ultramarine.
Try it with our free tools
Simulate mixes in the browser, then build a full palette for your project.
Validate text on your new palette with our WCAG contrast checker.