Skip to content

#0fa721

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

RGB
15, 167, 33
HSL
127°, 84%, 36%
CMYK
91, 0, 80, 35
Luminance
0.2785

Every format

HEX#0fa721
RGBrgb(15, 167, 33)
HSLhsl(127, 84%, 36%)
CMYKcmyk(91%, 0%, 80%, 35%)
LABlab(59.8 -60.6 54.2)
LCHlch(59.8 81.4 138.2)
OKLCHoklch(0.633 0.204 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fa721 on white: 3.20:1
AA ✗ fail · AA-large · AAA
Aa
#0fa721 on black: 6.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green65.5%
Blue12.9%

CMYK percentages

Cyan91.0%
Magenta0.0%
Yellow80.2%
Key (black)34.5%

Color previews

#0fa721 text on a black background

contrast 6.57:1

Card sample

#0fa721 text on a white background

contrast 3.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fa721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fa721 in the Color Lab