Palette maker

Teal Gradient: Backgrounds, Hex Codes and CSS

The classic teal gradient runs from light teal through teal to dark teal , usually at 135 degrees. It stays inside one hue family, so it reads as calm and deep rather than busy.

Type
135°
 

More teal gradients to try

On this page
  1. Color codes
  2. Teal vs turquoise
  3. CSS code
  4. Smoother blends
  5. Web and apps
  6. Contrast
  7. Palettes
  8. Pairings
  9. Branding and decor
  10. Printing
  11. FAQ

I have used this three-stop ramp in app headers, packaging and slide templates, and it is one of the easiest gradients to make look polished. Below are the exact codes, working CSS, contrast ratios I calculated myself, palettes and the print problems to watch for.

Teal Gradient Color Codes: HEX, RGB, HSL and CMYK

Each stop is a different lightness of almost the same hue, which is why the blend looks so clean. The hue sits between 179 and 181 degrees on the color wheel, so only lightness and saturation change from one end to the other.

Stop HEX RGB HSL CMYK
Light Teal 127, 219, 218 179°, 56%, 68% 42, 0, 0, 14
Teal 0, 128, 128 180°, 100%, 25% 100, 0, 0, 50
Dark Teal 1, 77, 78 181°, 97%, 15% 99, 1, 0, 69

The CMYK column is the plain mathematical conversion, which is fine for a first layout. Real presses behave differently, so treat those numbers as a starting point (more on that in the print section below).

If you want a fourth stop, the sRGB midpoint of the light and dark ends is . It is a muted mid-teal that smooths the transition without adding a new hue.

Teal vs Turquoise vs Cyan: Where This Gradient Sits

Teal is the dark, calm member of the blue green family. Pure has a hue of exactly 180 degrees, halfway between green and blue, at just 25% lightness. Turquoise () is brighter and a touch greener, while cyan or aqua () is the same hue turned up to full glare.

Three flat color swatches compare teal #008080 with turquoise #40E0D0 and cyan #00FFFF, with short notes on each difference
Teal #008080 is the deep, calm one; turquoise is brighter and greener, and cyan is the same hue at full glare.

The light end of this gradient, , behaves like a soft aqua. So the ramp travels from airy aqua to deep petrol without changing hue. If you want the light end to lean minty and green instead, the pastel green gradient page shows how that softer direction looks.

The name comes from the Eurasian teal, a duck with a blue green patch near its eye, and it became a color name in English in the early twentieth century. Today is also one of the 16 basic HTML color names, which is why plain teal works in any stylesheet.

CSS Code for a Teal Gradient

The gradient studio above writes this for you: change the stops, angle and type, then copy the result. Here is the code behind the classic version, so you can read it and edit it by hand.

Linear teal gradient

.hero {
  background: #008080;
  background: linear-gradient(135deg, #7FDBDA 0%, #008080 50%, #014D4E 100%);
}

The first line is a solid fallback for any browser that cannot draw the gradient. For direction, 90deg runs left to right, 180deg runs top to bottom and 135deg runs from the top left corner to the bottom right. Move the middle stop to 35% if you want more bright teal and a faster fall into the dark.

Radial and conic teal gradients

.glow {
  background: radial-gradient(circle at 30% 20%, #7FDBDA, #008080 45%, #014D4E 100%);
}
.ring {
  background: conic-gradient(from 200deg, #014D4E, #008080, #7FDBDA, #008080, #014D4E);
}

Radial teal makes a soft spotlight, good behind a product shot or a login card. Conic teal sweeps around a point, and because the first and last colors match, the loop closes without a visible seam.

Smoother Blends With oklch Interpolation

By default, browsers mix gradient colors in sRGB. Adding in oklch or in oklab tells the browser to mix in a space built around how we see lightness and chroma, so the in-between colors look more even. Inside a single hue like teal the difference is subtle. It becomes obvious when teal meets a very different color such as coral, where sRGB tends to pass through a dull grey.

What does adding in oklch to a CSS gradient change?

The stops and angle stay the same; only the color space used to mix the in-between colors changes.

.banner {
  background: linear-gradient(135deg, #7FDBDA, #014D4E);
  background: linear-gradient(in oklch 135deg, #7FDBDA, #008080, #014D4E);
}

Browsers that do not understand the second line keep the first, so the fallback costs you nothing. Current versions of the major browsers support it, but test on the oldest devices your audience uses.

Teal Gradient Backgrounds for Websites and Apps

A teal gradient works best as a surface that content sits on, not as decoration that competes with it. Keep the lightest stop away from copy and let the dark half carry the text.

  • Hero sections: use 135deg with the headline over the dark half, or 225deg to push the light stop to the top right.
  • Buttons: a gentle 180deg shift from to adds depth. Keep the two stops close.
  • Dark mode cards: fade toward a near-black, and use neutral surfaces from the black to grey gradient page so the teal stays the accent.
  • Gradient text: set the gradient as the background, then use background-clip: text and a transparent text color.

In Tailwind v3 you can write bg-gradient-to-br from-[#7FDBDA] via-[#008080] to-[#014D4E]. Version 4 renamed that utility to bg-linear-to-br. For a cooler, more corporate feel, end on navy instead of dark teal; the dark blue gradient page has ready stops.

Try this: Copy the three-stop CSS, place white 28px heading text in the top left corner, then slide the light stop from 0% to 25%. Note the point where the first letters start to look washed out.

Text Contrast on a Teal Gradient (WCAG)

I calculated these ratios with the WCAG relative luminance formula. White on scores about 4.8:1, which clears AA for normal text (4.5:1) but not AAA. White on scores about 9.7:1, which clears AAA (7:1). On the light end, near-black text on reaches about 13.0:1, while white manages only 1.6:1.

On a #7FDBDA to #014D4E gradient, where is white body text safest?

White on #014D4E scores about 9.7:1, while on #7FDBDA it scores only about 1.6:1.

The trouble lives in the middle. At the midpoint , white text gets about 3.6:1, which only works for large text (3:1). On a client dashboard I once fixed, white labels crossed a light to dark teal banner and failed in the lighter third. Moving the light stop to the far corner, away from the labels, made every label pass without changing the look.

Test the worst point

Measure contrast at the lightest spot directly behind your text, not at the average color of the gradient.

Teal Gradient Palettes You Can Copy

These palettes are built from the same teal family. The first is the full ramp from mist to deep petrol, and the others add a counter-color so you can move beyond a single-hue look.

Lagoon Glass

The full teal ramp for UI backgrounds, charts and soft section dividers.

Coral Reef

Teal with warm accents for landing pages, posters and friendly product launches.

Midnight Harbor

A cool, serious scheme for dashboards, finance apps and dark mode themes.

Teal and Brass

Rich and calm for packaging, hospitality menus and boutique brand identities.

Use the lightest color for page backgrounds, the middle teals for gradients and buttons, and the darkest for text and footers.

Colors That Pair Well With a Teal Gradient

Teal sits opposite red-orange on the color wheel, so warm colors make it glow. Neutrals calm it down. These are the pairings I reach for most often:

  • Coral and peach: the classic warm opposite. The orange to blue gradient page shows this temperature clash at full strength.
  • Soft pink: teal against blush feels gentle and a little retro. Browse the pink gradient page for tints.
  • Sand and cream: neutrals like keep teal grounded and give text panels a calm base.
  • Brass or gold: a muted gold such as makes teal feel premium.
  • Wood tones: teal against brown feels natural and warm, especially in interiors.

When you blend teal straight into coral, the middle can turn grey. Add a pale warm stop between them, like the sand above, or use the oklch trick from earlier.

Twelve-segment hue wheel with teal on the left joined by lines to coral, soft pink and brass gold on the warm side
Teal sits at 180 degrees, so coral, pink and gold from the warm side make it glow.

Teal Gradients in Branding, Interiors and Fashion

In branding, teal tends to suggest calm, clarity and care, which is why you see it in health, wellness and finance. A teal gradient adds modern energy to that without losing trust. For logos, keep a flat version in for small sizes, because gradients fall apart at favicon scale.

In interiors, a teal ombre wall works best fading from a deep color at the floor to a lighter one at the ceiling, which feels grounded. Glass tile backsplashes and velvet upholstery in teal shades get the same effect with texture. Teal is also the cool half of many dusk skies, and the sunset gradient page shows how warm stops stack against it.

In fashion and art, teal ombre dye on silk, denim or ceramics gives a watery depth. For painting, mix a light teal wash into a dark one while the paint is wet, and the blend will look like deep water.

Printing a Teal Gradient Without Surprises

Screens beat ink at saturated blue greens. On one packaging project, a teal gradient that looked vivid on every monitor came back from the first proof duller and flatter, and the lightest 10% showed visible stepping bands. The file was not wrong; the press simply could not reach that screen color.

To avoid this, ask your printer for a proof in their actual profile before approving anything. Convert to CMYK yourself and check the result, since the plain conversion for (100, 0, 0, 50) is only a rough guide. If the teal is a brand color, a spot ink usually holds it more faithfully than four-color mixing.

For banding, add a touch of noise or a subtle texture to the gradient file. Keep very pale tints above the minimum dot your printer can hold, because the faintest end of a gradient can vanish on some presses.

The colors behind these gradients

Teal Gradient: questions people ask

What is the hex code for teal?

Classic teal is #008080, which is RGB 0, 128, 128 and HSL 180, 100%, 25%. It is one of the 16 basic HTML color names, so you can also write it as the keyword teal in CSS.

What colors make a good teal gradient?

The three-stop ramp #7FDBDA, #008080 and #014D4E is a reliable default because all three share almost the same hue. For more contrast, end on navy such as #0A2540, or add a warm stop like coral for a lively blend.

Is white text readable on a teal gradient?

On #008080 white text scores about 4.8:1 and on #014D4E about 9.7:1, so both pass WCAG AA. On the light end #7FDBDA it drops to about 1.6:1, so keep text away from pale stops or switch to dark text.

What is the difference between teal and turquoise?

Teal is darker and more muted, with a hue of 180 degrees and 25% lightness for #008080. Turquoise, such as #40E0D0, is brighter and leans slightly greener.

How do I make teal gradient text in CSS?

Set a linear-gradient as the background, add background-clip: text (with the -webkit- prefix for older browsers) and make the text color transparent. Use dark teal stops on light pages so the letters keep enough contrast.

Keep exploring