Skip to content

#0b3821

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

RGB
11, 56, 33
HSL
149°, 67%, 13%
CMYK
80, 0, 41, 78
Luminance
0.0301

Every format

HEX#0b3821
RGBrgb(11, 56, 33)
HSLhsl(149, 67%, 13%)
CMYKcmyk(80%, 0%, 41%, 78%)
LABlab(20.1 -21.6 10.1)
LCHlch(20.1 23.8 154.9)
OKLCHoklch(0.304 0.064 156.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b3821 on white: 13.11:1
AA ✓ pass · AA-large · AAA
Aa
#0b3821 on black: 1.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green22.0%
Blue12.9%

CMYK percentages

Cyan80.4%
Magenta0.0%
Yellow41.1%
Key (black)78.0%

Color previews

#0b3821 text on a black background

contrast 1.60:1

Card sample

#0b3821 text on a white background

contrast 13.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b3821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b3821 in the Color Lab