Skip to content

#0f751f

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

RGB
15, 117, 31
HSL
129°, 77%, 26%
CMYK
87, 0, 74, 54
Luminance
0.1292

Every format

HEX#0f751f
RGBrgb(15, 117, 31)
HSLhsl(129, 77%, 26%)
CMYKcmyk(87%, 0%, 74%, 54%)
LABlab(42.6 -45.2 37.9)
LCHlch(42.6 59.0 140.0)
OKLCHoklch(0.491 0.150 144.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f751f on white: 5.86:1
AA ✓ pass · AA-large · AAA
Aa
#0f751f on black: 3.58:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green45.9%
Blue12.2%

CMYK percentages

Cyan87.2%
Magenta0.0%
Yellow73.5%
Key (black)54.1%

Color previews

#0f751f text on a black background

contrast 3.58:1

Card sample

#0f751f text on a white background

contrast 5.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f751f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f751f in the Color Lab