Skip to content

#0fd062

a dark, electric green · cool · closest name: forestgreen

RGB
15, 208, 98
HSL
146°, 87%, 44%
CMYK
93, 0, 53, 18
Luminance
0.4610

Every format

HEX#0fd062
RGBrgb(15, 208, 98)
HSLhsl(146, 87%, 44%)
CMYKcmyk(93%, 0%, 53%, 18%)
LABlab(73.6 -66.1 42.5)
LCHlch(73.6 78.5 147.3)
OKLCHoklch(0.750 0.204 150.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fd062 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#0fd062 on black: 10.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green81.6%
Blue38.4%

CMYK percentages

Cyan92.8%
Magenta0.0%
Yellow52.9%
Key (black)18.4%

Color previews

#0fd062 text on a black background

contrast 10.22:1

Card sample

#0fd062 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fd062

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fd062 in the Color Lab