Skip to content

Green Color Code #008000

Green has the HEX code #008000 and the RGB value rgb(0, 128, 0).

Green#008000

Green color codes

HEX#008000
RGBrgb(0, 128, 0)
HSLhsl(120, 100%, 25%)
CMYKcmyk(100%, 0%, 100%, 50%)
RGB percent0%, 50%, 0%
Decimal32768

Tints of Green

#1A8D1A#339933#4DA64D#66B366#80C080#99CC99#B3D9B3#CCE6CC#E6F2E6

Shades of Green

#007300#006600#005A00#004D00#004000#003300#002600#001A00#000D00

Color combinations

Complementary

#008000#800080

Analogous

#008000#408000#008040

Triadic

#008000#000080#800000

Use Green in CSS

.text { color: #008000; }
.box { background-color: rgb(0, 128, 0); }
.border { border: 2px solid hsl(120, 100%, 25%); }
Text in Green Background in Green

Similar colors

Frequently asked questions

What is the HEX code for Green?

The HEX code for Green is #008000.

What is the RGB value of Green?

Green in RGB is rgb(0, 128, 0): red 0, green 128 and blue 0 out of 255.

How do I use Green in CSS?

Use color: #008000; for text or background-color: #008000; for backgrounds. You can also write the CSS name green.