Skip to content

#2ceb0c

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

RGB
44, 235, 12
HSL
111°, 90%, 48%
CMYK
81, 0, 95, 8
Luminance
0.5998

Every format

HEX#2ceb0c
RGBrgb(44, 235, 12)
HSLhsl(111, 90%, 48%)
CMYKcmyk(81%, 0%, 95%, 8%)
LABlab(81.8 -78.2 77.5)
LCHlch(81.8 110.1 135.2)
OKLCHoklch(0.818 0.271 141.8)

Copy-ready code

/* CSS */
color: #2ceb0c;
background-color: #2ceb0c;
/* Tailwind (arbitrary) */
class="text-[#2ceb0c] bg-[#2ceb0c]"
/* SCSS */
$brand: #2ceb0c;
/* SwiftUI */
Color(red: 0.173, green: 0.922, blue: 0.047)
/* Android */
Color.parseColor("#2ceb0c")

Accessibility — WCAG contrast

Aa
#2ceb0c on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#2ceb0c on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.3%
Green92.2%
Blue4.7%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow94.9%
Key (black)7.8%

Color previews

#2ceb0c text on a black background

contrast 13.00:1

Card sample

#2ceb0c text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2ceb0c;
Background color
Panel with #2ceb0c background
background-color: #2ceb0c;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(44, 235, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(44, 235, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ceb0c;
background: linear-gradient(135deg, #2ceb0c, #0CEB81);

Monochromatic scale

Palettes built from #2ceb0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ceb0c in the Color Lab