Skip to content

#0df787

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

RGB
13, 247, 135
HSL
151°, 94%, 51%
CMYK
95, 0, 45, 3
Luminance
0.6836

Every format

HEX#0df787
RGBrgb(13, 247, 135)
HSLhsl(151, 94%, 51%)
CMYKcmyk(95%, 0%, 45%, 3%)
LABlab(86.2 -72.8 40.3)
LCHlch(86.2 83.2 151.0)
OKLCHoklch(0.856 0.219 153.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0df787 on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#0df787 on black: 14.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green96.9%
Blue52.9%

CMYK percentages

Cyan94.7%
Magenta0.0%
Yellow45.3%
Key (black)3.1%

Color previews

#0df787 text on a black background

contrast 14.67:1

Card sample

#0df787 text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0df787

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0df787 in the Color Lab