Skip to content

#0df87f

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

RGB
13, 248, 127
HSL
149°, 94%, 51%
CMYK
95, 0, 49, 3
Luminance
0.6875

Every format

HEX#0df87f
RGBrgb(13, 248, 127)
HSLhsl(149, 94%, 51%)
CMYKcmyk(95%, 0%, 49%, 3%)
LABlab(86.4 -74.4 44.4)
LCHlch(86.4 86.6 149.1)
OKLCHoklch(0.858 0.227 151.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df87f on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#0df87f on black: 14.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green97.3%
Blue49.8%

CMYK percentages

Cyan94.8%
Magenta0.0%
Yellow48.8%
Key (black)2.7%

Color previews

#0df87f text on a black background

contrast 14.75:1

Card sample

#0df87f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(13, 248, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(13, 248, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0df87f;
background: linear-gradient(135deg, #0df87f, #0DD4F8);

Monochromatic scale

Palettes built from #0df87f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df87f in the Color Lab