Skip to content

#0b261c

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

RGB
11, 38, 28
HSL
158°, 55%, 10%
CMYK
71, 0, 26, 85
Luminance
0.0154

Every format

HEX#0b261c
RGBrgb(11, 38, 28)
HSLhsl(158, 55%, 10%)
CMYKcmyk(71%, 0%, 26%, 85%)
LABlab(12.9 -13.4 3.6)
LCHlch(12.9 13.9 165.0)
OKLCHoklch(0.244 0.038 166.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red4.3%
Green14.9%
Blue11.0%

CMYK percentages

Cyan71.1%
Magenta0.0%
Yellow26.3%
Key (black)85.1%

Color previews

#0b261c text on a black background

contrast 1.31:1

Card sample

#0b261c text on a white background

contrast 16.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b261c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b261c in the Color Lab