Skip to content

#0dfb87

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

RGB
13, 251, 135
HSL
151°, 97%, 52%
CMYK
95, 0, 46, 2
Luminance
0.7083

Every format

HEX#0dfb87
RGBrgb(13, 251, 135)
HSLhsl(151, 97%, 52%)
CMYKcmyk(95%, 0%, 46%, 2%)
LABlab(87.4 -74.0 41.9)
LCHlch(87.4 85.1 150.5)
OKLCHoklch(0.867 0.223 152.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0dfb87 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#0dfb87 on black: 15.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green98.4%
Blue52.9%

CMYK percentages

Cyan94.8%
Magenta0.0%
Yellow46.2%
Key (black)1.6%

Color previews

#0dfb87 text on a black background

contrast 15.17:1

Card sample

#0dfb87 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0dfb87

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0dfb87 in the Color Lab