Skip to content

#0f9945

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

RGB
15, 153, 69
HSL
144°, 82%, 33%
CMYK
90, 0, 55, 40
Luminance
0.2331

Every format

HEX#0f9945
RGBrgb(15, 153, 69)
HSLhsl(144, 82%, 33%)
CMYKcmyk(90%, 0%, 55%, 40%)
LABlab(55.4 -52.4 34.5)
LCHlch(55.4 62.7 146.6)
OKLCHoklch(0.598 0.163 149.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f9945 on white: 3.71:1
AA ✗ fail · AA-large · AAA
Aa
#0f9945 on black: 5.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green60.0%
Blue27.1%

CMYK percentages

Cyan90.2%
Magenta0.0%
Yellow54.9%
Key (black)40.0%

Color previews

#0f9945 text on a black background

contrast 5.66:1

Card sample

#0f9945 text on a white background

contrast 3.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f9945

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f9945 in the Color Lab