Skip to content

#0f7f2f

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

RGB
15, 127, 47
HSL
137°, 79%, 28%
CMYK
88, 0, 63, 50
Luminance
0.1549

Every format

HEX#0f7f2f
RGBrgb(15, 127, 47)
HSLhsl(137, 79%, 28%)
CMYKcmyk(88%, 0%, 63%, 50%)
LABlab(46.3 -46.7 34.6)
LCHlch(46.3 58.1 143.4)
OKLCHoklch(0.522 0.150 147.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f7f2f on white: 5.13:1
AA ✓ pass · AA-large · AAA
Aa
#0f7f2f on black: 4.10:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green49.8%
Blue18.4%

CMYK percentages

Cyan88.2%
Magenta0.0%
Yellow63.0%
Key (black)50.2%

Color previews

#0f7f2f text on a black background

contrast 4.10:1

Card sample

#0f7f2f text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f7f2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f7f2f in the Color Lab