#008000

Green — Color Codes & Palette

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

Color Codes

Format Value
HEX #008000
RGB rgb(0, 128, 0)
HSL hsl(120, 100%, 25%)

Shades of Green

#007500#006B00#006100#005700#004D00#004200#003800#002E00

Tints of Green

#00A800#00D100#00FA00#24FF24#4DFF4D#75FF75#9EFF9E#C7FFC7

Color Pairings & Harmony

Complementary
#800080
Analogous +30°
#008040
Analogous −30°
#408000
Triadic +120°
#000080
Triadic −120°
#800000

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
5.14:1 — AA pass for normal text
vs. Black (#000000)
4.09:1 — AA pass for large text only

CSS Snippet

.element {
  color: #008000;
}

.element-bg {
  background-color: #008000;
  color: #ffffff;
}

.element-border {
  border: 2px solid #008000;
}

About Green

Green is a dark color with vivid, highly saturated, defined by the hex code #008000. Its exact color model values are rgb(0, 128, 0) in RGB and hsl(120, 100%, 25%) in HSL (hue 120°, saturation 100%, lightness 25%). On a white background the contrast ratio is 5.14:1 — AA pass for normal text, and on black it is 4.09:1 — AA pass for large text only. Use Green for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of Green?
The RGB value of Green (#008000) is rgb(0, 128, 0). Red = rgb(0, 128, 0), representing the amounts of red, green, and blue light on a 0–255 scale.
Is Green accessible on a white background?
The contrast ratio of Green on white (#FFFFFF) is 5.14:1 — AA pass for normal text. On black (#000000) the contrast ratio is 4.09:1 — AA pass for large text only. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with Green?
Based on color theory, Green (hsl(120, 100%, 25%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.