Skip to content

#0fdf1f

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

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

Every format

HEX#0fdf1f
RGBrgb(15, 223, 31)
HSLhsl(125, 87%, 47%)
CMYKcmyk(93%, 0%, 86%, 13%)
LABlab(77.9 -76.6 71.3)
LCHlch(77.9 104.6 137.1)
OKLCHoklch(0.784 0.260 143.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green87.5%
Blue12.2%

CMYK percentages

Cyan93.3%
Magenta0.0%
Yellow86.1%
Key (black)12.5%

Color previews

#0fdf1f text on a black background

contrast 11.60:1

Card sample

#0fdf1f text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0fdf1f;
Background color
Panel with #0fdf1f background
background-color: #0fdf1f;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fdf1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fdf1f in the Color Lab