Skip to content

#0b4530

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

RGB
11, 69, 48
HSL
158°, 73%, 16%
CMYK
84, 0, 30, 73
Luminance
0.0454

Every format

HEX#0b4530
RGBrgb(11, 69, 48)
HSLhsl(158, 73%, 16%)
CMYKcmyk(84%, 0%, 30%, 73%)
LABlab(25.4 -24.0 7.6)
LCHlch(25.4 25.1 162.4)
OKLCHoklch(0.348 0.069 163.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b4530 on white: 11.01:1
AA ✓ pass · AA-large · AAA
Aa
#0b4530 on black: 1.91:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green27.1%
Blue18.8%

CMYK percentages

Cyan84.1%
Magenta0.0%
Yellow30.4%
Key (black)72.9%

Color previews

#0b4530 text on a black background

contrast 1.91:1

Card sample

#0b4530 text on a white background

contrast 11.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b4530

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b4530 in the Color Lab