Skip to content

Green

#008000

Green is the hex color #008000, with RGB values 0, 128, 0. It is a CSS color keyword, so browsers render it from the name alone, and its value is fixed by the CSS Color Module.

GreenCSS keyword

Quick colors, then fill the screen

Or a gradient

Or let it move

#008000rgb(0, 128, 0) · hsl(120, 100%, 25%)

Green color codes

Every value for #008000, ready to paste. Click any code to copy it.

Channel values for #008000 in each number base
ChannelDecimalShareHexOctalBinary
Red00%00000000000
Green12850.2%8020010000000
Blue00%00000000000

The nearest web-safe color is #009900, from the 216-color palette browsers agreed on before displays could be trusted with more.

About green

A genuine trap. CSS green is the green primary at half intensity, considerably darker than most people picture. The full-strength version is the keyword lime.

Shades, tints and tones

Every step is generated from #008000. Click a swatch to copy its hex.

Shades of green

A shade is the base color with black mixed in. Shades read as deeper and more dramatic, and they are what you reach for when a color needs to recede or carry weight.

Tints of green

A tint is the base color with white mixed in. Tints turn pastel as they lighten, which makes them useful for backgrounds and for anything that has to sit behind text.

Tones of green

A tone is the base color with grey mixed in. Tones lose the shout without losing the hue, and they are usually what separates a considered palette from a loud one.

The green scale

The same color as the 50 to 950 ladder every CSS framework uses, with #008000 at 500. Click a step to copy its hex, or take the whole scale as variables for a design system.

Color schemes built on green

Harmonies are positions on the color wheel rather than matters of taste, which is why they keep working across very different designs.

Complementary

Two colors from opposite sides of the wheel. They make each other look more vivid, which is why the pairing is used for anything that needs to stand out.

Analogous

Three neighbours on the wheel. Nothing competes, so the result reads calm and settled, closer to how colour behaves in nature.

Split complementary

The base plus the two colors either side of its complement. It keeps most of the contrast while being much easier to balance.

Triadic

Three colors spaced evenly around the wheel. Strong and lively, and usually best with one dominant color and two accents.

Tetradic

Two complementary pairs, forming a rectangle on the wheel. The richest scheme available, and the hardest to keep from shouting.

Monochromatic

One hue at different lightness levels. Effortlessly cohesive, and the safest way to build a palette around a brand color.

Colors close to #008000

Near neighbours, for when this color is almost right. Each one shifts hue, saturation or lightness by a small step.

Green color palettes

Five-color palettes built around #008000, each following a different scheme. Click any swatch to copy it, or open the generator to build your own.

Analogous

Complementary

Triadic

Monochromatic

Open the palette generator to lock the colors you like and regenerate the rest.

Contrast and readability

Whether green works as text, and what to put on top of it when it is the background. Ratios follow WCAG 2.1, where 4.5 is the bar for body text and 3 for large text.

Green text on white background

5.14:1 · Good

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Green text on black background

4.09:1 · Large text only

Large text at 24 pixels

Body text at 16 pixels. A flat field of color removes every variable, which is what makes it useful for judging a display.

  • Body AA
  • Body AAA
  • Large AA
  • Large AAA

Used the other way round, #008000 as a background takes #FFFFFF text. That is the higher-contrast of the two, and it is what the tool picks automatically for any chrome sitting on your color.

Green reads better on a white background of the two. Contrast is a property of the pair, not of one color, so a color that fails here can still be perfectly usable against a different partner.

Share

List of green shades

Every named green in the library, 7 of them CSS keywords whose values are normative rather than conventional. Codes are rounded to whole numbers for HSL.

SwatchNameHexRGBHSL
Green is a CSS keyword is the color on this page#0080000, 128, 0120, 100%, 25%
Emerald#50C87880, 200, 120140, 52%, 55%
Sage#9CAF88156, 175, 13689, 20%, 61%
Olive is a CSS keyword#808000128, 128, 060, 100%, 25%
Mint#98FF98152, 255, 152120, 100%, 80%
Forest green is a CSS keyword#228B2234, 139, 34120, 61%, 34%
Jade#00A86B0, 168, 107158, 100%, 33%
Lime is a CSS keyword#00FF000, 255, 0120, 100%, 50%
Seafoam#93E9BE147, 233, 190150, 66%, 75%
Moss#8A9A5B138, 154, 9175, 26%, 48%
Chartreuse is a CSS keyword#7FFF00127, 255, 090, 100%, 50%
Sea green is a CSS keyword#2E8B5746, 139, 87146, 50%, 36%
Olive drab is a CSS keyword#6B8E23107, 142, 3580, 60%, 35%
Hunter green#355E3B53, 94, 59129, 28%, 29%
Pistachio#93C572147, 197, 11496, 42%, 61%