Skip to content

#0f4530

a deep, vivid green · cool · closest name: darkslategray

RGB
15, 69, 48
HSL
157°, 64%, 17%
CMYK
78, 0, 30, 73
Luminance
0.0457

Every format

HEX#0f4530
RGBrgb(15, 69, 48)
HSLhsl(157, 64%, 17%)
CMYKcmyk(78%, 0%, 30%, 73%)
LABlab(25.5 -23.3 7.8)
LCHlch(25.5 24.6 161.6)
OKLCHoklch(0.349 0.067 162.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f4530 on white: 10.97:1
AA ✓ pass · AA-large · AAA
Aa
#0f4530 on black: 1.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green27.1%
Blue18.8%

CMYK percentages

Cyan78.3%
Magenta0.0%
Yellow30.4%
Key (black)72.9%

Color previews

#0f4530 text on a black background

contrast 1.91:1

Card sample

#0f4530 text on a white background

contrast 10.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f4530

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f4530 in the Color Lab