Skip to content

#0fba49

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

RGB
15, 186, 73
HSL
140°, 85%, 39%
CMYK
92, 0, 61, 27
Luminance
0.3570

Every format

HEX#0fba49
RGBrgb(15, 186, 73)
HSLhsl(140, 85%, 39%)
CMYKcmyk(92%, 0%, 61%, 27%)
LABlab(66.3 -62.6 45.5)
LCHlch(66.3 77.3 144.0)
OKLCHoklch(0.689 0.199 147.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0fba49 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#0fba49 on black: 8.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green72.9%
Blue28.6%

CMYK percentages

Cyan91.9%
Magenta0.0%
Yellow60.8%
Key (black)27.1%

Color previews

#0fba49 text on a black background

contrast 8.14:1

Card sample

#0fba49 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0fba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0fba49 in the Color Lab