Skip to content

#0b4721

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

RGB
11, 71, 33
HSL
142°, 73%, 16%
CMYK
85, 0, 54, 72
Luminance
0.0469

Every format

HEX#0b4721
RGBrgb(11, 71, 33)
HSLhsl(142, 73%, 16%)
CMYKcmyk(85%, 0%, 54%, 72%)
LABlab(25.8 -28.4 17.6)
LCHlch(25.8 33.4 148.2)
OKLCHoklch(0.351 0.087 150.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b4721 on white: 10.84:1
AA ✓ pass · AA-large · AAA
Aa
#0b4721 on black: 1.94:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green27.8%
Blue12.9%

CMYK percentages

Cyan84.5%
Magenta0.0%
Yellow53.5%
Key (black)72.2%

Color previews

#0b4721 text on a black background

contrast 1.94:1

Card sample

#0b4721 text on a white background

contrast 10.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b4721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b4721 in the Color Lab