Skip to content

#2ffb0f

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

RGB
47, 251, 15
HSL
112°, 97%, 52%
CMYK
81, 0, 94, 2
Luminance
0.6963

Every format

HEX#2ffb0f
RGBrgb(47, 251, 15)
HSLhsl(112, 97%, 52%)
CMYKcmyk(81%, 0%, 94%, 2%)
LABlab(86.8 -82.2 81.4)
LCHlch(86.8 115.7 135.3)
OKLCHoklch(0.860 0.285 141.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ffb0f on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#2ffb0f on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.4%
Green98.4%
Blue5.9%

CMYK percentages

Cyan81.3%
Magenta0.0%
Yellow94.0%
Key (black)1.6%

Color previews

#2ffb0f text on a black background

contrast 14.93:1

Card sample

#2ffb0f text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(47, 251, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(47, 251, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ffb0f;
background: linear-gradient(135deg, #2ffb0f, #0FFB8D);

Monochromatic scale

Palettes built from #2ffb0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ffb0f in the Color Lab