Green Color

What Color is Green?

Green is a fresh nature color. It looks happy like trees and grass.

#008000
FormatCodeImage
Hex
#008000
Green Color Code
RGB
0, 128, 0
HSL
120, 100%, 25%
CMYK
100%, 0%, 100%, 50%
OKLCH
oklch(0.520 0.177 143)

Color Harmonies

Balanced color combinations based on color theory. Click to copy.

Analogous

Adjacent colors - harmony and unity

Monochromatic

Same hue, varied lightness - cohesive designs

Complementary

Opposite colors - high contrast

Split Complementary

Base + adjacent complements - balanced contrast

Triadic

Evenly spaced - vibrant palettes

Square

Four colors at 90° - bold combinations

Tetradic

Rectangle shape - rich variety

Compound

Analogous + complements - sophisticated

Accessibility & Contrast Checker

Ensure your color combinations meet WCAG accessibility standards for readability. Test text contrast against different backgrounds.

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #FFFFFF5.14:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #0000004.09:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #F5F5F54.71:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #1A1A1A3.39:1
AA AA Large AAA

Sample Text

The quick brown fox jumps over the lazy dog.

Background: #3333332.46:1
AA AA Large AAA

WCAG Guidelines: AA requires 4.5:1 for normal text, 3:1 for large text. AAA requires 7:1 for normal text, 4.5:1 for large text. Large text is 18pt+ or 14pt bold+.

Code Snippets

Ready-to-use code snippets for CSS, SCSS, Tailwind, and more. Click to copy.

CSS Variables
/* Green Color */
:root {
  --color-green-color: #008000;
  --color-green-color-rgb: 0, 128, 0;
}

.element {
  background-color: var(--color-green-color);
  color: rgba(var(--color-green-color-rgb), 0.8);
}
SCSS
// Green Color Variables
$green-color: #008000;
$green-color-rgb: 0, 128, 0;

// Usage
.element {
  background-color: $green-color;
  border-color: darken($green-color, 10%);
  box-shadow: 0 4px 6px rgba($green-color-rgb, 0.2);
}
Tailwind Config
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'green-color': '#008000',
        'green-color-light': '#00CC00',
        'green-color-dark': '#003300',
      },
    },
  },
}
JSON
{
  "name": "Green Color",
  "hex": "#008000",
  "rgb": {
    "r": 0,
    "g": 128,
    "b": 0
  },
  "hsl": {
    "h": 120,
    "s": 100,
    "l": 25
  }
}

Visual Usage Examples

See how Green Color looks in real-world design applications.

Website Header
Logo
HomeAboutContact
Card Component
Buttons
Background Usage

Heading Text

This is how body text appears on this background color. Good contrast is essential for readability.

Badges & Tags
NewFeaturedPopular
Gradients (Click to copy)
Complementary
Fade
Analogous
Radial