Skip to content

#0f1f13

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

RGB
15, 31, 19
HSL
135°, 35%, 9%
CMYK
52, 0, 39, 88
Luminance
0.0113

Every format

HEX#0f1f13
RGBrgb(15, 31, 19)
HSLhsl(135, 35%, 9%)
CMYKcmyk(52%, 0%, 39%, 88%)
LABlab(10.0 -10.2 6.0)
LCHlch(10.0 11.8 149.8)
OKLCHoklch(0.221 0.032 151.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f1f13 on white: 17.13:1
AA ✓ pass · AA-large · AAA
Aa
#0f1f13 on black: 1.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green12.2%
Blue7.5%

CMYK percentages

Cyan51.6%
Magenta0.0%
Yellow38.7%
Key (black)87.8%

Color previews

#0f1f13 text on a black background

contrast 1.23:1

Card sample

#0f1f13 text on a white background

contrast 17.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f1f13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f1f13 in the Color Lab