Skip to content

#0f7f2d

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

RGB
15, 127, 45
HSL
136°, 79%, 28%
CMYK
88, 0, 65, 50
Luminance
0.1547

Every format

HEX#0f7f2d
RGBrgb(15, 127, 45)
HSLhsl(136, 79%, 28%)
CMYKcmyk(88%, 0%, 65%, 50%)
LABlab(46.3 -46.9 35.6)
LCHlch(46.3 58.9 142.8)
OKLCHoklch(0.521 0.151 146.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green49.8%
Blue17.6%

CMYK percentages

Cyan88.2%
Magenta0.0%
Yellow64.6%
Key (black)50.2%

Color previews

#0f7f2d text on a black background

contrast 4.09:1

Card sample

#0f7f2d text on a white background

contrast 5.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f7f2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f7f2d in the Color Lab