Skip to content

#00cc22

a dark, electric green · cool · closest name: lime

RGB
0, 204, 34
HSL
130°, 100%, 40%
CMYK
100, 0, 83, 20
Luminance
0.4330

Every format

HEX#00cc22
RGBrgb(0, 204, 34)
HSLhsl(130, 100%, 40%)
CMYKcmyk(100%, 0%, 83%, 20%)
LABlab(71.8 -71.8 65.1)
LCHlch(71.8 97.0 137.8)
OKLCHoklch(0.733 0.242 143.5)

Copy-ready code

/* CSS */
color: #00cc22;
background-color: #00cc22;
/* Tailwind (arbitrary) */
class="text-[#00cc22] bg-[#00cc22]"
/* SCSS */
$brand: #00cc22;
/* SwiftUI */
Color(red: 0.000, green: 0.800, blue: 0.133)
/* Android */
Color.parseColor("#00cc22")

Accessibility — WCAG contrast

Aa
#00cc22 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#00cc22 on black: 9.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red0.0%
Green80.0%
Blue13.3%

CMYK percentages

Cyan100.0%
Magenta0.0%
Yellow83.3%
Key (black)20.0%

Color previews

#00cc22 text on a black background

contrast 9.66:1

Card sample

#00cc22 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #00cc22;
Background color
Panel with #00cc22 background
background-color: #00cc22;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #00cc22;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(0, 204, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(0, 204, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #00cc22;
background: linear-gradient(135deg, #00cc22, #00CCAA);

Monochromatic scale

Palettes built from #00cc22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #00cc22 in the Color Lab