Skip to content

#0f8917

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

RGB
15, 137, 23
HSL
124°, 80%, 30%
CMYK
89, 0, 83, 46
Luminance
0.1805

Every format

HEX#0f8917
RGBrgb(15, 137, 23)
HSLhsl(124, 80%, 30%)
CMYKcmyk(89%, 0%, 83%, 46%)
LABlab(49.6 -52.2 47.6)
LCHlch(49.6 70.7 137.6)
OKLCHoklch(0.548 0.177 143.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f8917 on white: 4.55:1
AA ✓ pass · AA-large · AAA
Aa
#0f8917 on black: 4.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green53.7%
Blue9.0%

CMYK percentages

Cyan89.1%
Magenta0.0%
Yellow83.2%
Key (black)46.3%

Color previews

#0f8917 text on a black background

contrast 4.61:1

Card sample

#0f8917 text on a white background

contrast 4.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f8917

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f8917 in the Color Lab