#008000 Color Information

Hex color code: #008000

The hex color #008000 is a dynamic green with RGB values of (0, 128, 0) and HSL of (120°, 100%, 25%). It is typically applied in digital products.

Try:
Color NameGreen
HEX
#008000
RGB
0, 128, 0
HSL
120°, 100%, 25%
CMYK
100%, 0%, 100%, 50%

Shades

CSS Usage
color: #008000;
background-color: #008000;
border-color: #008000;
box-shadow: 0 0 10px #008000;
border: 2px solid #008000;
Tailwind Usage
bg-[#008000]
text-[#008000]
border-[#008000]
shadow-[0_0_10px_008000]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #008000, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #008000; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #008000; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #008000; background-color: #00800015; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #00800020; border-left: 4px solid #008000; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #008000; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #008000 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

0, 128, 0

Red: 0 / Green: 128 / Blue: 0

HSL

120°, 100%, 25%

Hue: 120° / Saturation: 100% / Lightness: 25%

CMYK

100%, 0%, 100%, 50%

Cyan: 100% / Magenta: 0% / Yellow: 100% / Key: 50%

What color is #008000?

#008000 is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #008000 to RGB:

rgb(0, 128, 0)HEX to RGB Converter →

HEX to HSL

Convert #008000 to HSL:

hsl(120, 100%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #008000 to CMYK:

cmyk(100%, 0%, 100%, 50%)Color Converter →

Color Meaning and Usage

A striking green tone, #008000 has RGB (0, 128, 0) and HSL (120°, 100%, 25%). Known for evoking energy and excitement, this highly saturated hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #008000 is #800080, creating high-contrast pairings. For softer combinations, try analogous colors like #408000.

Use #008000 in CSS: color: #008000 or background-color: #008000. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #008000

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 4.09:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #008000?

#008000 is a striking green color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #008000?

#008000 in RGB is (0, 128, 0) - 0 red, 128 green, and 0 blue.

How to use #008000 in CSS?

Use #008000 directly in your CSS properties like color or background-color.

What colors go well with #008000?

#800080 (complementary), #408000 (analogous), and #003300 (lighter shade) work well with #008000.