Skip to content

#0fdf77

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

RGB
15, 223, 119
HSL
150°, 87%, 47%
CMYK
93, 0, 47, 13
Luminance
0.5421

Every format

HEX#0fdf77
RGBrgb(15, 223, 119)
HSLhsl(150, 87%, 47%)
CMYKcmyk(93%, 0%, 47%, 13%)
LABlab(78.6 -67.6 38.5)
LCHlch(78.6 77.8 150.4)
OKLCHoklch(0.793 0.204 152.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fdf77 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#0fdf77 on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green87.5%
Blue46.7%

CMYK percentages

Cyan93.3%
Magenta0.0%
Yellow46.6%
Key (black)12.5%

Color previews

#0fdf77 text on a black background

contrast 11.84:1

Card sample

#0fdf77 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fdf77

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fdf77 in the Color Lab