Skip to content

#1fdf0f

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

RGB
31, 223, 15
HSL
115°, 87%, 47%
CMYK
86, 0, 93, 13
Luminance
0.5310

Every format

HEX#1fdf0f
RGBrgb(31, 223, 15)
HSLhsl(115, 87%, 47%)
CMYKcmyk(86%, 0%, 93%, 13%)
LABlab(77.9 -76.0 74.0)
LCHlch(77.9 106.1 135.8)
OKLCHoklch(0.785 0.262 142.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fdf0f on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#1fdf0f on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green87.5%
Blue5.9%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow93.3%
Key (black)12.5%

Color previews

#1fdf0f text on a black background

contrast 11.62:1

Card sample

#1fdf0f text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1fdf0f;
Background color
Panel with #1fdf0f background
background-color: #1fdf0f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(31, 223, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 223, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fdf0f;
background: linear-gradient(135deg, #1fdf0f, #0FDF8A);

Monochromatic scale

Palettes built from #1fdf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fdf0f in the Color Lab