RGB
0, 128, 0
HSL
120°, 100%, 25%
CMYK
100, 0, 100, 50
HSV
120°, 100%, 50%
Similar Colors
Conversions & Codes
| Format | Value | CSS |
|---|---|---|
| HEX | #008000 |
color: #008000;
|
| RGB | 0, 128, 0 |
color: rgb(0, 128, 0);
|
| RGB Percentage | 0%, 50%, 0% |
color: rgb(0%, 50%, 0%);
|
| CMYK | 100%, 0%, 100%, 50% | Not supported in CSS |
| HSL | 120°, 100%, 25% |
color: hsl(120, 100%, 25%);
|
| HSV | 120°, 100%, 50% | Not supported in CSS |
| CIE-LAB | 20, -26, 43 |
color: lab(20% -26 43);
|
| Decimal | 32768 | Not supported in CSS |
Color Variations
Shades
Tints
Tones
Hues
Color Harmonies
Analogous
Complementary
Split Complementary
Triadic
Tetradic
Square
CSS & Dev Snippets
CSS
.green {
color: #008000;
}
SCSS
$green: #008000;
RGB
rgb(0, 128, 0)
Accessibility & Contrast
White background
5.14:1
5.14
contrast ratio on a white background
Element
AA
AAA
Small text
Large text
UI element
Black background
4.09:1
4.09
contrast ratio on a black background
Element
AA
AAA
Small text
Large text
UI element