Skip to content

#0d1c0f

a deep, soft green · cool · closest name: black

RGB
13, 28, 15
HSL
128°, 37%, 8%
CMYK
54, 0, 46, 89
Luminance
0.0095

Every format

HEX#0d1c0f
RGBrgb(13, 28, 15)
HSLhsl(128, 37%, 8%)
CMYKcmyk(54%, 0%, 46%, 89%)
LABlab(8.6 -9.6 6.2)
LCHlch(8.6 11.4 147.2)
OKLCHoklch(0.208 0.033 147.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0d1c0f on white: 17.65:1
AA ✓ pass · AA-large · AAA
Aa
#0d1c0f on black: 1.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green11.0%
Blue5.9%

CMYK percentages

Cyan53.6%
Magenta0.0%
Yellow46.4%
Key (black)89.0%

Color previews

#0d1c0f text on a black background

contrast 1.19:1

Card sample

#0d1c0f text on a white background

contrast 17.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0d1c0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d1c0f in the Color Lab