AfoliOpen Afoli →

Green color #008000

Green is one of the CSS named colors (keyword green) with the hex code #008000 — RGB 0, 128, 0, HSL 120°, 100%, 25%.

Open in Afoli Colour tools →

#008000Green

Color codes

HEX
#008000
RGB
rgb(0, 128, 0)
HSL
hsl(120, 100%, 25%)
CMYK
100%, 0%, 100%, 50%
OKLCH
oklch(52% 0.177 142.5)
CSS keyword
green

Tints and shades

#E0FFDD#90F788#75DC6E#59C153#3DA638#1C8C19#007200#005700#003E00#002600#001000

Color harmonies

Complementary
#008000#963BA3
Analogous
#6A6F00#008000#007B63
Triadic
#008000#2C61CD#B92C36
Split complementary
#008000#6F4DC3#AF2D72
Tetradic
#008000#00729C#963BA3#A24E00

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Green text on white5.14 : 175AA — body text
Green text on black4.09 : 1-27AA for large text only
White text on Green5.14 : 1-80AA — body text
Black text on Green4.09 : 129AA for large text only

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Green?

Green has the hex code #008000, which is RGB 0, 128, 0 and HSL 120°, 100%, 25%.

Which text color reads best on Green?

White text: contrast 5.14 : 1 (black text: 4.09 : 1).

Which colors go well with Green?

Its complementary color is #963BA3; analogous colors are #6A6F00 and #007B63; a triadic set adds #2C61CD and #B92C36.

Similar colors

Sources and licences

Updated November 21, 2026