Green colour (#008000)

Green is dark a green with hex code #008000, one of the 148 named colours every browser understands, so you can write color: ${name} directly in CSS. In RGB it is 0, 128, 0; in HSL 120°, 100%, 25%. Use the tool to explore shades and harmonies.

✓ Runs in your browser — nothing uploaded Free, no sign-upNo watermark

How to use the Green colour

  1. The colour is pre-filled; click Explore to see all formats, shades and harmonies.
  2. Edit the value to try a variation.
  3. Copy the code you need.

Green in every format

FormatValue
HEX#008000
RGBrgb(0, 128, 0)
RGB (0–1)0.000, 0.502, 0.000
HSLhsl(120, 100%, 25%)
CMYK (approx.)100%, 0%, 100%, 50%
CSScolor: green;

Shades and tints of Green

Same hue and saturation, lightness from 90% to 10%:

#ccffcc #99ff99 #66ff66 #33ff33 #00ff00 #00cc00 #009900 #006600 #003300

Colours that go with Green

HarmonyColours
Complementary #800080
Triadic #000080 #800000
Analogous #008040 #408000

Similar named colours

The closest CSS named colours by RGB distance, useful when you need a keyword instead of a hex code or want a near match:

ColourHEXDifference
darkgreen #006400very close
forestgreen #228b22close
seagreen #2e8b57noticeably different
darkolivegreen #556b2fnoticeably different
darkslategray #2f4f4fnoticeably different

Accessibility

Contrast ratio of Green against white is 5.14:1 (passes WCAG AA for normal text) and against black 4.09:1 (fails). Use Green for text on white backgrounds.

Frequently asked questions

What is the hex code for Green?

#008000.

What is Green in RGB?

rgb(0, 128, 0).

What colour is complementary to Green?

#800080, directly opposite on the colour wheel.

Privacy

This tool runs entirely inside your browser using WebAssembly and the Canvas/File APIs. Your files are never uploaded to ToolFlint or any third party; you can verify this in your browser's network tab or by switching to airplane mode after the page loads. Read how we process files.

Last updated 2026-09-23.