Skip to content

#0b3c21

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

RGB
11, 60, 33
HSL
147°, 69%, 14%
CMYK
82, 0, 45, 77
Luminance
0.0341

Every format

HEX#0b3c21
RGBrgb(11, 60, 33)
HSLhsl(147, 69%, 14%)
CMYKcmyk(82%, 0%, 45%, 77%)
LABlab(21.6 -23.5 12.2)
LCHlch(21.6 26.5 152.6)
OKLCHoklch(0.316 0.070 154.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b3c21 on white: 12.48:1
AA ✓ pass · AA-large · AAA
Aa
#0b3c21 on black: 1.68:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green23.5%
Blue12.9%

CMYK percentages

Cyan81.7%
Magenta0.0%
Yellow45.0%
Key (black)76.5%

Color previews

#0b3c21 text on a black background

contrast 1.68:1

Card sample

#0b3c21 text on a white background

contrast 12.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b3c21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b3c21 in the Color Lab