Skip to content

#0f3319

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

RGB
15, 51, 25
HSL
137°, 55%, 13%
CMYK
71, 0, 51, 80
Luminance
0.0254

Every format

HEX#0f3319
RGBrgb(15, 51, 25)
HSLhsl(137, 55%, 13%)
CMYKcmyk(71%, 0%, 51%, 80%)
LABlab(18.1 -20.0 12.8)
LCHlch(18.1 23.7 147.5)
OKLCHoklch(0.287 0.063 149.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f3319 on white: 13.93:1
AA ✓ pass · AA-large · AAA
Aa
#0f3319 on black: 1.51:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green20.0%
Blue9.8%

CMYK percentages

Cyan70.6%
Magenta0.0%
Yellow51.0%
Key (black)80.0%

Color previews

#0f3319 text on a black background

contrast 1.51:1

Card sample

#0f3319 text on a white background

contrast 13.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f3319

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f3319 in the Color Lab