TintShelf
Interface

Green Color Code: Hex #008000

The hex code for Green is #008000 (the CSS keyword green). Green RGB code: rgb(0, 128, 0). The xkcd color survey gives #15B01A instead, which looks clearly different; both codes are below with their source.

CSS Color 4#008000Top: the code browsers use
meodai color-name-list#00FF00Below: compare edge to edge

Green color codes: each Green hex code in every format

HEX#008000
RGBrgb(0, 128, 0)
HSLhsl(120, 100%, 25%)
OKLCHoklch(52.0% 0.177 142.5)
LABlab(46.3 -47.6 48.6)
CMYKcmyk(100%, 0%, 100%, 50%)

Sources

CSS Color 4web standard keyword
xkcd color survey2010 naming survey
meodai color-name-listopen community list

Properties

Hex codes
3 different ones in 3 color lists; they look clearly different
Family
green
Contrast
5.14:1 with white, 4.09:1 with black
CSS keyword
green
Character
dark, vivid
Readable text on it
white (AA)

The web’s green is a darker shade than X11’s green; the full-intensity X11 green was given the name lime when the W3C adopted the list.

A dark, vivid green. In code, green gives exactly this web value. If you mean the color as people usually picture the name, the survey value #15B01A is closer: it is lighter and more vivid.

White text reads best on it; black text works only for large headings. Even pale tints keep its hue, which makes it easy to use for soft backgrounds. Next to Forest Green, its closest named neighbour, it looks darker, about as saturated and neither warmer nor cooler; beside Emerald Green it looks darker, about as saturated and neither warmer nor cooler. It is one of the darkest of the green family here. It is one of the 16 original HTML 4 color names.

Colors that go with Green

Complementary: the opposite of Green

Open in generator

  • #008000White text 5.14:1
  • #963BA3White text 6.08:1
  • #85B981Black text 9.25:1
  • #5B2163White text 11.40:1

Analogous

Open in generator

  • #6A6F00White text 5.40:1
  • #008000White text 5.14:1
  • #007B63White text 5.23:1
  • #A6CCA3Black text 11.79:1

Triadic

Open in generator

  • #008000White text 5.14:1
  • #2C61CDWhite text 5.68:1
  • #B92C36White text 6.04:1
  • #C7DFC5Black text 14.79:1

Monochrome

Open in generator

  • #001F00White text 17.56:1
  • #004D00White text 10.19:1
  • #008000White text 5.14:1
  • #64A65EBlack text 7.16:1
  • #A6CCA3Black text 11.79:1

With neutrals

Open in generator

  • #008000White text 5.14:1
  • #C7DFC5Black text 14.79:1
  • #000B00White text 20.04:1
  • #678165Black text 4.90:1

How tints, shades and harmonies are calculated

Preview

Heading on Green

Body text on this color, 5.14:1.

Button

Heading in Green

Text in this color on white, 5.14:1.

Button

Tints and shades

  1. #C7DFC5
  2. #A6CCA3
  3. #85B981
  4. #64A65E
  5. #3F933A
  6. #008000
  7. #006600
  8. #004D00
  9. #003500
  10. #001F00
  11. #000B00

WhiteGreenBlack

Similar named colors

Where the name comes from

Try it:

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.