Skip to content

#0b3921

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

RGB
11, 57, 33
HSL
149°, 68%, 13%
CMYK
81, 0, 42, 78
Luminance
0.0311

Every format

HEX#0b3921
RGBrgb(11, 57, 33)
HSLhsl(149, 68%, 13%)
CMYKcmyk(81%, 0%, 42%, 78%)
LABlab(20.5 -22.1 10.6)
LCHlch(20.5 24.5 154.3)
OKLCHoklch(0.307 0.065 155.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b3921 on white: 12.95:1
AA ✓ pass · AA-large · AAA
Aa
#0b3921 on black: 1.62:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green22.4%
Blue12.9%

CMYK percentages

Cyan80.7%
Magenta0.0%
Yellow42.1%
Key (black)77.6%

Color previews

#0b3921 text on a black background

contrast 1.62:1

Card sample

#0b3921 text on a white background

contrast 12.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b3921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b3921 in the Color Lab