Skip to content

#0b261b

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

RGB
11, 38, 27
HSL
156°, 55%, 10%
CMYK
71, 0, 29, 85
Luminance
0.0154

Every format

HEX#0b261b
RGBrgb(11, 38, 27)
HSLhsl(156, 55%, 10%)
CMYKcmyk(71%, 0%, 29%, 85%)
LABlab(12.8 -13.7 4.3)
LCHlch(12.8 14.3 162.7)
OKLCHoklch(0.244 0.039 164.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b261b on white: 16.06:1
AA ✓ pass · AA-large · AAA
Aa
#0b261b on black: 1.31:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green14.9%
Blue10.6%

CMYK percentages

Cyan71.1%
Magenta0.0%
Yellow28.9%
Key (black)85.1%

Color previews

#0b261b text on a black background

contrast 1.31:1

Card sample

#0b261b text on a white background

contrast 16.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b261b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b261b in the Color Lab