Skip to content

#0d1f13

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

RGB
13, 31, 19
HSL
140°, 41%, 9%
CMYK
58, 0, 39, 88
Luminance
0.0111

Every format

HEX#0d1f13
RGBrgb(13, 31, 19)
HSLhsl(140, 41%, 9%)
CMYKcmyk(58%, 0%, 39%, 88%)
LABlab(9.9 -11.0 5.8)
LCHlch(9.9 12.4 152.3)
OKLCHoklch(0.219 0.034 153.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0d1f13 on white: 17.18:1
AA ✓ pass · AA-large · AAA
Aa
#0d1f13 on black: 1.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.1%
Green12.2%
Blue7.5%

CMYK percentages

Cyan58.1%
Magenta0.0%
Yellow38.7%
Key (black)87.8%

Color previews

#0d1f13 text on a black background

contrast 1.22:1

Card sample

#0d1f13 text on a white background

contrast 17.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0d1f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0d1f13 in the Color Lab