Skip to content

#0b1d0c

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

RGB
11, 29, 12
HSL
123°, 45%, 8%
CMYK
62, 0, 59, 89
Luminance
0.0098

Every format

HEX#0b1d0c
RGBrgb(11, 29, 12)
HSLhsl(123, 45%, 8%)
CMYKcmyk(62%, 0%, 59%, 89%)
LABlab(8.8 -11.5 8.0)
LCHlch(8.8 14.0 145.3)
OKLCHoklch(0.209 0.041 145.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b1d0c on white: 17.57:1
AA ✓ pass · AA-large · AAA
Aa
#0b1d0c on black: 1.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green11.4%
Blue4.7%

CMYK percentages

Cyan62.1%
Magenta0.0%
Yellow58.6%
Key (black)88.6%

Color previews

#0b1d0c text on a black background

contrast 1.20:1

Card sample

#0b1d0c text on a white background

contrast 17.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(11, 29, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 29, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b1d0c;
background: linear-gradient(135deg, #0b1d0c, #0B1D18);

Monochromatic scale

Palettes built from #0b1d0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b1d0c in the Color Lab