Skip to content

#2df508

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

RGB
45, 245, 8
HSL
111°, 94%, 50%
CMYK
82, 0, 97, 4
Luminance
0.6588

Every format

HEX#2df508
RGBrgb(45, 245, 8)
HSLhsl(111, 94%, 50%)
CMYKcmyk(82%, 0%, 97%, 4%)
LABlab(84.9 -80.9 80.4)
LCHlch(84.9 114.1 135.2)
OKLCHoklch(0.844 0.281 141.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2df508 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#2df508 on black: 14.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red17.6%
Green96.1%
Blue3.1%

CMYK percentages

Cyan81.6%
Magenta0.0%
Yellow96.7%
Key (black)3.9%

Color previews

#2df508 text on a black background

contrast 14.18:1

Card sample

#2df508 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 245, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 245, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2df508;
background: linear-gradient(135deg, #2df508, #08F581);

Monochromatic scale

Palettes built from #2df508

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2df508 in the Color Lab