Skip to content

#050f0b

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

RGB
5, 15, 11
HSL
156°, 50%, 4%
CMYK
67, 0, 27, 94
Luminance
0.0040

Every format

HEX#050f0b
RGBrgb(5, 15, 11)
HSLhsl(156, 50%, 4%)
CMYKcmyk(67%, 0%, 27%, 94%)
LABlab(3.6 -3.5 0.8)
LCHlch(3.6 3.5 167.1)
OKLCHoklch(0.156 0.018 168.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#050f0b on white: 19.45:1
AA ✓ pass · AA-large · AAA
Aa
#050f0b on black: 1.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red2.0%
Green5.9%
Blue4.3%

CMYK percentages

Cyan66.7%
Magenta0.0%
Yellow26.7%
Key (black)94.1%

Color previews

#050f0b text on a black background

contrast 1.08:1

Card sample

#050f0b text on a white background

contrast 19.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #050f0b;
Background color
Panel with #050f0b background
background-color: #050f0b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #050f0b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(5, 15, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(5, 15, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #050f0b;
background: linear-gradient(135deg, #050f0b, #050C0F);

Monochromatic scale

Palettes built from #050f0b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #050f0b in the Color Lab