Skip to content

#0b2c11

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

RGB
11, 44, 17
HSL
131°, 60%, 11%
CMYK
75, 0, 61, 83
Luminance
0.0191

Every format

HEX#0b2c11
RGBrgb(11, 44, 17)
HSLhsl(131, 60%, 11%)
CMYKcmyk(75%, 0%, 61%, 83%)
LABlab(15.0 -19.3 13.9)
LCHlch(15.0 23.8 144.2)
OKLCHoklch(0.261 0.062 147.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b2c11 on white: 15.19:1
AA ✓ pass · AA-large · AAA
Aa
#0b2c11 on black: 1.38:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green17.3%
Blue6.7%

CMYK percentages

Cyan75.0%
Magenta0.0%
Yellow61.4%
Key (black)82.7%

Color previews

#0b2c11 text on a black background

contrast 1.38:1

Card sample

#0b2c11 text on a white background

contrast 15.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b2c11

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b2c11 in the Color Lab