Skip to content

#2df023

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

RGB
45, 240, 35
HSL
117°, 87%, 54%
CMYK
81, 0, 85, 6
Luminance
0.6300

Every format

HEX#2df023
RGBrgb(45, 240, 35)
HSLhsl(117, 87%, 54%)
CMYKcmyk(81%, 0%, 85%, 6%)
LABlab(83.4 -78.8 75.5)
LCHlch(83.4 109.1 136.2)
OKLCHoklch(0.832 0.271 142.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2df023 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#2df023 on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green94.1%
Blue13.7%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow85.4%
Key (black)5.9%

Color previews

#2df023 text on a black background

contrast 13.60:1

Card sample

#2df023 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 240, 35, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 240, 35, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2df023;
background: linear-gradient(135deg, #2df023, #23F0A2);

Monochromatic scale

Palettes built from #2df023

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df023 in the Color Lab